Commit Graph

9 Commits

Author SHA1 Message Date
e43680f798 cors 2026-03-09 11:17:44 +01:00
b39972102a fix: use APP_GUARD provider for global authentication guard
- Replace manual guard instantiation with DI-managed APP_GUARD provider
- Fixes request timeout issue caused by improper Passport JWT strategy initialization
- Add @Public() decorator to remaining sync endpoints for public access
- Remove unused Reflector import from main.ts
2026-02-28 16:49:24 +01:00
33008b64ce fix: enhance CORS configuration with explicit methods and headers 2026-02-28 15:33:45 +01:00
d573846e5c fix: configure CORS to allow frontend and PWA domains
- Update backend main.ts to include www.placebo.mk in allowed origins
- Add logging to show which origins are allowed
- Set FRONTEND_URL, PWA_URL, STRAPI_URL env vars in docker-compose
- This fixes 'No Access-Control-Allow-Origin header' CORS errors
2026-02-24 19:28:54 +01:00
f1f16a80a5 pwa ready 2026-02-22 01:11:20 +01:00
42002f8e6f auth checkpoint
auth dependecies not instaled in dev container
2026-02-04 19:24:03 +01:00
9ca05f5ea1 delete/archive implemented 2026-02-03 23:14:36 +01:00
0c2433cac6 docker implementation 2026-02-01 13:32:37 +01:00
71dfd86187 basic structure setup 2026-01-10 19:41:04 +01:00