Skip to content

Commit

Permalink
Try to properly set domain when deleting cookie for signout
Browse files Browse the repository at this point in the history
  • Loading branch information
franknoirot committed Feb 14, 2024
1 parent c55bb9c commit cdef96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="%sveltekit.assets%/favicon-16x16.png" />
<link rel="manifest" href="%sveltekit.assets%/site.webmanifest" />
<!-- minimal-ui is an iOS-specific tag that makes the bottom address bar hidden by default -->
<meta name="viewport" content="width=device-width, initial-scale=1; minimal-ui" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Zoo Text-to-CAD UI" />
<meta name="twitter:site" content="@zoodotdev" />
Expand Down
2 changes: 1 addition & 1 deletion src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PLAYWRIGHT_MOCKING_HEADER } from '$lib/consts'
import { hooksUserMocks, isUserMock } from '$lib/mocks'
const unProtectedRoutes = ['/']

const domain = import.meta.env.DEV ? 'localhost' : import.meta.env.VITE_SITE_BASE_URL
const domain = import.meta.env.DEV ? 'localhost' : '.zoo.dev'

export const handle = async ({ event, resolve }) => {
const mock = event.request.headers.get(PLAYWRIGHT_MOCKING_HEADER)
Expand Down

0 comments on commit cdef96e

Please sign in to comment.