mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
Added new variable SITE_URL
to DISCORD_CALLBACK_URL
This commit is contained in:
parent
d64675a3b0
commit
067e2c424e
@ -17,8 +17,11 @@ Make the following changes in your auth project's settings file (`local.py`):
|
||||
|
||||
```python
|
||||
# Discord Configuration
|
||||
# Be sure to set the callback URLto https://example.com/discord/callback/
|
||||
# substituting your domain for example.com in Discord's developer portal
|
||||
# (Be sure to add the trailing slash)
|
||||
DISCORD_GUILD_ID = ''
|
||||
DISCORD_CALLBACK_URL = ''
|
||||
DISCORD_CALLBACK_URL = f"{SITE_URL}/discord/callback/"
|
||||
DISCORD_APP_ID = ''
|
||||
DISCORD_APP_SECRET = ''
|
||||
DISCORD_BOT_TOKEN = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user