Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 28e2eab5ba | |||
| 439784bdbb | |||
| a773df9c46 | |||
| b80ad26a15 |
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "clean",
|
"name": "clean",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.7.1",
|
"version": "0.7.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev:types": "bun run type:generate && bun --bun vite dev --host",
|
"dev:types": "bun run type:generate && bun --bun vite dev --host",
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ const handleBetterAuth: Handle = async ({ event, resolve }) => {
|
|||||||
event.locals.session = session.session;
|
event.locals.session = session.session;
|
||||||
event.locals.user = session.user;
|
event.locals.user = session.user;
|
||||||
} else if (
|
} else if (
|
||||||
|
event.url.pathname !== "/" &&
|
||||||
!event.url.pathname.startsWith('/auth') &&
|
!event.url.pathname.startsWith('/auth') &&
|
||||||
!event.url.pathname.startsWith('/api/auth') &&
|
!event.url.pathname.startsWith('/api/auth') &&
|
||||||
event.url.pathname !== '/install.sh'
|
event.url.pathname !== '/install.sh'
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
export const load = () => {};
|
||||||
Reference in New Issue
Block a user