diff --git a/api/main.ts b/api/main.ts index c957423..c233d0a 100644 --- a/api/main.ts +++ b/api/main.ts @@ -16,6 +16,7 @@ type AppState = { const router = new Router(); const hostname = "localhost"; +const deployHostname = "forums.warabi.co" const authPath = "/auth"; const port = 8000; @@ -42,7 +43,7 @@ export interface SteamUser { export const Steam = new SteamAuth({ realm: `http://${hostname}:${port}`, - returnUrl: `http://${hostname}:${port}${authPath}/return`, + returnUrl: `https://${deployHostname}${authPath}/return`, apiKey: Deno.env.get("STEAM_API_KEY"), });