chore: add frontend service to docker compose

Signed-off-by: Trezy <tre@trezy.com>
This commit is contained in:
Trezy
2026-05-19 19:46:58 +03:00
committed by Tangled
parent 3fd8f7ebbf
commit 04f370aaa1
4 changed files with 34 additions and 3 deletions
+4 -3
View File
@@ -13,9 +13,10 @@ const SCOPES = [
"account:*?action=manage",
].join(" ");
const CLIENT_ID = !(import.meta.env.DEV)
? `${globalThis.location.origin}/oauth-client-metadata.json`
: `http://localhost/?scope=${SCOPES}`;
const CLIENT_ID =
!(import.meta.env.DEV) || globalThis.location?.hostname !== 'localhost'
? `${globalThis.location.origin}/oauth-client-metadata.json`
: `http://localhost/?scope=${SCOPES}`;
const REDIRECT_URI = `${globalThis.location.origin}/app/`;