File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- import { SolidAuth , type SolidAuthConfig } from "@solid-mediakit/auth" ;
1+ import { SolidAuth } from "@solid-mediakit/auth" ;
22import { authOptions } from "~/server/auth" ;
33
44export const { GET , POST } = SolidAuth ( authOptions ) ;
Original file line number Diff line number Diff line change 1- import { type SolidAuthConfig } from ' @solid-mediakit/auth'
2- import GitHub from ' @auth/core/providers/github'
1+ import { auth , type SolidAuthConfig } from " @solid-mediakit/auth" ;
2+ import GitHub from " @auth/core/providers/github" ;
33
4- declare module ' @auth/core/types' {
4+ declare module " @auth/core/types" {
55 export interface Session {
6- user ?: DefaultSession [ ' user' ]
6+ user ?: DefaultSession [ " user" ] ;
77 }
88}
99
@@ -15,5 +15,5 @@ export const authOptions: SolidAuthConfig = {
1515 } ) ,
1616 ] ,
1717 debug : false ,
18- basePath : import . meta . env . VITE_AUTH_PATH ,
19- }
18+ basePath : "/api/auth" ,
19+ } ;
You can’t perform that action at this time.
0 commit comments