From b145d5fa011e5c3f14301f94635286258122463a Mon Sep 17 00:00:00 2001 From: 1tzEmerald Date: Fri, 26 Jun 2026 13:55:24 +0100 Subject: [PATCH] update API --- Configs/api.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Configs/api.yml b/Configs/api.yml index d6bb5e4..a04ca62 100644 --- a/Configs/api.yml +++ b/Configs/api.yml @@ -10,6 +10,7 @@ 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: @@ -18,12 +19,14 @@ API: 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: []