This commit is contained in:
Char committed 2026-05-19 23:22:11 +01:00
1 parent 9332fc9254
commit 7e22831d08
20 files changed
+945 -1489

No files matched your search

+11
View File
@@ -9,11 +9,22 @@ API:
SecretKey: "CHANGE_ME"
# Set to 1 when the dashboard is behind nginx, Cloudflare, Pterodactyl proxy, etc.
# so http/https is detected from X-Forwarded-Proto.
TrustProxy: false
OAuth:
Enabled: true
ClientId: "DISCORD_CLIENT_ID"
ClientSecret: "DISCORD_CLIENT_SECRET"
# Canonical callback URL (host + path). Protocol (http/https) can follow the
# browser when UseRequestOrigin is true (default).
RedirectUri: "http://localhost:3000/api/auth/discord/callback"
# Optional: register extra callback URLs in Discord and list them here.
# RedirectUris:
# - "https://bot.example.com/api/auth/discord/callback"
# UseRequestOrigin: true
# CookieSecure: false
OwnerUserIds:
- "YOUR_DISCORD_USER_ID"
AllowedUserIds: []