update API

This commit is contained in:
1tzEmerald committed 2026-06-26 13:55:24 +01:00
1 parent 8c9fcb32e0
commit b145d5fa01
1 file changed
+3
+3
View File
@@ -10,6 +10,7 @@ API:
SecretKey: "CHANGE_ME" SecretKey: "CHANGE_ME"
# Set to 1 when the dashboard is behind nginx, Cloudflare, Pterodactyl proxy, etc. # Set to 1 when the dashboard is behind nginx, Cloudflare, Pterodactyl proxy, etc.
# so http/https is detected from X-Forwarded-Proto. # so http/https is detected from X-Forwarded-Proto.
TrustProxy: false TrustProxy: false
OAuth: OAuth:
@@ -18,12 +19,14 @@ API:
ClientSecret: "DISCORD_CLIENT_SECRET" ClientSecret: "DISCORD_CLIENT_SECRET"
# Canonical callback URL (host + path). Protocol (http/https) can follow the # Canonical callback URL (host + path). Protocol (http/https) can follow the
# browser when UseRequestOrigin is true (default). # browser when UseRequestOrigin is true (default).
RedirectUri: "http://localhost:3000/api/auth/discord/callback" RedirectUri: "http://localhost:3000/api/auth/discord/callback"
# Optional: register extra callback URLs in Discord and list them here. # Optional: register extra callback URLs in Discord and list them here.
# RedirectUris: # RedirectUris:
# - "https://bot.example.com/api/auth/discord/callback" # - "https://bot.example.com/api/auth/discord/callback"
# UseRequestOrigin: true # UseRequestOrigin: true
# CookieSecure: false # CookieSecure: false
OwnerUserIds: OwnerUserIds:
- "YOUR_DISCORD_USER_ID" - "YOUR_DISCORD_USER_ID"
AllowedUserIds: [] AllowedUserIds: []