From a1b804017b71df538534ed8e374b8bbb554e926d Mon Sep 17 00:00:00 2001 From: ethanf Date: Sat, 12 Oct 2024 02:25:54 -0500 Subject: [PATCH] fix: return to deployment --- api/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"), });