[Closes #8] Added authentication
This commit is contained in:
parent
6eefa137bb
commit
97211cdccd
65 changed files with 5831 additions and 440 deletions
5
server/api/[...auth].ts
Normal file
5
server/api/[...auth].ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { auth } from "~~/shared/utils/auth";
|
||||
|
||||
export default defineEventHandler((event) => {
|
||||
return auth.handler(toWebRequest(event));
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue