mirror of https://gitlab.com/litecord/litecord.git
config.example.py: add MAIN_URL
This commit is contained in:
parent
339d1b0c8b
commit
c4a63016ea
|
|
@ -3,10 +3,15 @@ MODE = 'Development'
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
"""Default configuration values for litecord."""
|
"""Default configuration values for litecord."""
|
||||||
# Enable debug logging?
|
#: Main URL of the instance.
|
||||||
|
MAIN_URL = 'discordapp.io'
|
||||||
|
|
||||||
|
#: Enable debug logging?
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
# Enable ssl? (gives wss:// instead of ws:// on gateway route)
|
#: Enable ssl?
|
||||||
|
# many routes will start giving https / wss
|
||||||
|
# urls depending of this config.
|
||||||
IS_SSL = False
|
IS_SSL = False
|
||||||
|
|
||||||
# enable registrations in this instance?
|
# enable registrations in this instance?
|
||||||
|
|
@ -22,7 +27,7 @@ class Config:
|
||||||
|
|
||||||
# Where to host the websocket?
|
# Where to host the websocket?
|
||||||
# (a local address the server will bind to)
|
# (a local address the server will bind to)
|
||||||
WS_HOST = 'localhost'
|
WS_HOST = '0.0.0.0'
|
||||||
WS_PORT = 5001
|
WS_PORT = 5001
|
||||||
|
|
||||||
# Postgres credentials
|
# Postgres credentials
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue