Skip to content

Commit

Permalink
fix: update nhost versions
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Feb 23, 2025
1 parent ae94a47 commit bf84888
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export async function GET({ setHeaders }) {
'https://console.traefik.me:5173',
'https://console.traefik.me:3000',
'https://console.traefik.me:4173',
'https://console.traefik.me',
'https://spectacular-console.vercel.app',
'https://spectacular-console-git-main-spectacular.vercel.app',
],
Expand Down
4 changes: 2 additions & 2 deletions nhost/nhost.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mode = 'recommended'

[auth.redirections]
clientUrl = 'https://console.traefik.me:5173'
allowedUrls = ['https://console.traefik.me:5173', 'https://console.traefik.me:5173/profile', 'https://console.traefik.me:4173', 'https://console.traefik.me:4173/profile', 'https://console.traefik.me:3000', 'https://console.traefik.me:3000/profile', 'https://console.traefik.me', 'https://console.traefik.me/profile', 'https://*.vercel.app']
allowedUrls = ['https://console.traefik.me:5173', 'https://console.traefik.me:5173/user/profile', 'https://console.traefik.me:4173', 'https://console.traefik.me:4173/user/profile', 'https://console.traefik.me:3000', 'https://console.traefik.me:3000/user/profile', 'https://*.vercel.app']

[auth.signUp]
enabled = true
Expand Down Expand Up @@ -183,7 +183,7 @@ enabled = true

[auth.method.webauthn.relyingParty]
name = 'Spectacular Console App'
origins = ['https://console.traefik.me:5173']
origins = []

[auth.method.webauthn.attestation]
timeout = 60000
Expand Down
24 changes: 9 additions & 15 deletions nhost/overlays/local.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@
"path": "/auth/redirections/allowedUrls",
"value": [
"https://console.traefik.me:5173",
"https://console.traefik.me:5173/profile",
"https://console.traefik.me:5173/dashboard/profile",
"https://console.traefik.me:5173/user/profile",
"https://console.traefik.me:3000",
"https://console.traefik.me:3000/profile",
"https://console.traefik.me:3000/dashboard/profile",
"https://console.traefik.me:3000/user/profile",
"https://console.traefik.me:4173",
"https://console.traefik.me:4173/profile",
"https://console.traefik.me:4173/dashboard/profile",
"https://console.traefik.me",
"https://console.traefik.me/profile",
"https://console.traefik.me/dashboard/profile"
"https://console.traefik.me:4173/user/profile"
]
},
{
Expand All @@ -29,18 +23,18 @@
},
{
"op": "add",
"path": "/auth/method/webauthn/relyingParty/origins/1",
"value": "https://console.traefik.me:3000"
"path": "/auth/method/webauthn/relyingParty/origins/-",
"value": "https://console.traefik.me:5173"
},
{
"op": "add",
"path": "/auth/method/webauthn/relyingParty/origins/2",
"value": "https://console.traefik.me:4173"
"path": "/auth/method/webauthn/relyingParty/origins/-",
"value": "https://console.traefik.me:3000"
},
{
"op": "add",
"path": "/auth/method/webauthn/relyingParty/origins/3",
"value": "https://console.traefik.me"
"path": "/auth/method/webauthn/relyingParty/origins/-",
"value": "https://console.traefik.me:4173"
},
{
"op": "replace",
Expand Down
15 changes: 8 additions & 7 deletions nhost/overlays/swzucovdccjouwebopwb.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
"path": "/auth/redirections/allowedUrls",
"value": [
"https://console.traefik.me:5173",
"https://console.traefik.me:5173/profile",
"https://console.traefik.me:5173/dashboard/profile",
"https://console.traefik.me",
"https://console.traefik.me/profile",
"https://console.traefik.me/dashboard/profile",
"https://console.traefik.me:5173/user/profile",
"https://console.traefik.me:3000",
"https://console.traefik.me:3000/user/profile",
"https://console.traefik.me:4173",
"https://console.traefik.me:4173/user/profile",
"https://spectacular-console.vercel.app",
"https://spectacular-console.vercel.app/profile",
"https://spectacular-console.vercel.app/dashboard/profile",
"https://spectacular-console.vercel.app/user/profile",
"https://spectacular-console-git-main-spectacular.vercel.app",
"https://spectacular-console-git-main-spectacular.vercel.app/user/profile",
"https://*.vercel.app"
]
},
Expand Down

0 comments on commit bf84888

Please sign in to comment.