Skip to content
Snippets Groups Projects
Commit 22d74be5 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat: implement admin authentication middleware and API endpoint

- Add `auth.ts` middleware for session validation in server.
- Update `auth.ts` in middleware to use async and fetch ping API.
- Modify `admin.vue` to utilize `useAuthStore()` for state management.
- Introduce `ping.ts` API in server for admin route validation.
parent b5c2ec97
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment