From c4a63016eaf0874aa77152d875ec0f566f45016d Mon Sep 17 00:00:00 2001 From: Luna Mendes Date: Sun, 18 Nov 2018 17:07:18 -0300 Subject: [PATCH] config.example.py: add MAIN_URL --- config.example.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config.example.py b/config.example.py index 9053ffe..3f5f3a7 100644 --- a/config.example.py +++ b/config.example.py @@ -3,10 +3,15 @@ MODE = 'Development' class Config: """Default configuration values for litecord.""" - # Enable debug logging? + #: Main URL of the instance. + MAIN_URL = 'discordapp.io' + + #: Enable debug logging? 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 # enable registrations in this instance? @@ -22,7 +27,7 @@ class Config: # Where to host the websocket? # (a local address the server will bind to) - WS_HOST = 'localhost' + WS_HOST = '0.0.0.0' WS_PORT = 5001 # Postgres credentials