diff --git a/packages/admin/middleware/entry.global.ts b/packages/admin/middleware/entry.global.ts index c39c054..da13936 100644 --- a/packages/admin/middleware/entry.global.ts +++ b/packages/admin/middleware/entry.global.ts @@ -16,6 +16,7 @@ export default defineNuxtRouteMiddleware(async (to) => { const entryTokenQuery = to.query.entrytoken const entryTokenCookie = useCookie('admin_entry_token', { maxAge: 2592000, + httpOnly: true, path: useAppConfig().appAdminBasePath, sameSite: 'strict', secure: useRuntimeConfig().appSecureContext