config.example.py: add MAIN_URL

This commit is contained in:
Luna Mendes 2018-11-18 17:07:18 -03:00
parent 339d1b0c8b
commit c4a63016ea
1 changed files with 8 additions and 3 deletions

View File

@ -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