Files
kokken/.gitignore
Alex Polo e6a83da2ab Refactor API calls to use apiFetch for consistency and improved cookie handling
- Updated availability admin page to use apiFetch for fetching and modifying blocked dates.
- Enhanced menu generator page to ensure all expected arrays are initialized to avoid rendering issues.
- Added path to cookies in login and logout routes for better cookie management.
- Improved availability blocked API to log request headers and handle both date and id for deletion.
- Updated menu generator API to include tags in the response structure and ensure expected arrays are present.
- Enhanced middleware to handle authentication more robustly, including detailed logging and handling of various request types.
- Added Playwright test to verify that toggling availability does not log out the admin user.
- Created apiFetch utility to standardize API requests with credentials included.
2025-11-07 15:50:22 +01:00

58 lines
747 B
Plaintext

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
# testing
/coverage
# playwright
/playwright-report/
/test-results/
/screenshots/
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
.env*
# ignore build/dist and generated assets
/dist/
/public/img/generated/
public/img/fusion.jpg
public/img/gourmet.jpg
public/img/sushi.jpg
# image generation cache
scripts/image-cache.json
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
logs/out-0.log