summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app.py b/app.py
index 7621b28..a731604 100644
--- a/app.py
+++ b/app.py
@@ -6,8 +6,7 @@ import secrets
CLIENT_ID = "x" # DOTENV ligger paa discorden, repoet er publkic saa det
CLIENT_SECRET = "x" # DOTENV PAHAHAH
-REDIRECT_URI = "http://localhost:8080/callback"
-# REDIRECT_URI = "https://google.com"
+REDIRECT_URI = "https://localhost:8080/callback"
AUTH_BASE_URL = 'https://oauth.battle.net/authorize'
TOKEN_URL = "https://oauth.battle.net/token"
@@ -45,4 +44,5 @@ def server_static(type, filename):
return static_file(filename, root=f"./static/{type}/")
debug(True)
-run(app, host='localhost', port=8080, reloader=True) \ No newline at end of file
+run(app, host='localhost', port=8080, reloader=True,
+ server="gunicorn", keyfile="./pki/server.key", certfile="./pki/server.crt")