actually fix localhost client support

This commit is contained in:
nelind
2025-12-25 21:04:32 +00:00
committed by Tangled
parent 3af1b7ee44
commit ad4dd08c9b
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const SCOPES = [
].join(' ')
const CLIENT_ID = !(import.meta.env.DEV)
? `${window.location.origin}/oauth/client-metadata.json`
: `http://localhost/oauth/client-metadata.json?scope=${SCOPES}`
: `http://localhost/?scope=${SCOPES}`
const REDIRECT_URI = `${window.location.origin}/`
interface OAuthState {