Complete sermon itinerary application with Nuxt 3, SQLite, authentication, and Docker deployment
This commit is contained in:
9
server/api/auth/verify.get.ts
Normal file
9
server/api/auth/verify.get.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { isAuthenticated } from '~/server/utils/auth'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const authenticated = isAuthenticated(event)
|
||||
|
||||
return {
|
||||
authenticated
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user