diff options
author | Jannick <[email protected]> | 2024-04-26 11:01:27 +0200 |
---|---|---|
committer | Jannick <[email protected]> | 2024-04-26 11:01:27 +0200 |
commit | 1b2e629ddeabdaa1e2899e9f49b21343294fb541 (patch) | |
tree | 0eed1cc3fbc5237dad480762013ce4631a6395de /app.py | |
parent | 0cb2a367968ea0bc45739da5c88fd7b88ca281a7 (diff) | |
parent | 61ad52abf7b1a7ecede5cf59bfad847216e91cc5 (diff) |
Merge branch 'main' of github.com:linnnus/blind-guild
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11,8 +11,7 @@ load_dotenv() CLIENT_ID = os.environ.get("CLIENT_ID") # DOTENV ligger paa discorden, repoet er publkic saa det CLIENT_SECRET = os.environ.get("CLIENT_ID") # 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" @@ -50,4 +49,5 @@ def server_static(type, filename): return static_file(filename, root=f"./static/{type}/") debug(True) -run(app, host='localhost', port=8080, server="cherrypy", reloader=True, keyfile="./key.pem", certfile="./cert.pem", ssl_version="ssl.PROTOCOL_TLS")
\ No newline at end of file +run(app, host='localhost', port=8080, reloader=True, + server="gunicorn", keyfile="./pki/server.key", certfile="./pki/server.crt") |