Comment on I built a self-hosted period tracker because I couldn't find one worth using

<- View Parent
terraincognita@lemmy.world ⁨2⁩ ⁨days⁩ ago

Thanks for the suggestions, those are good points.

CSP is something I plan to tighten over time, but enabling a strict policy right now would require refactoring some inline JS patterns used in the templates. It’s definitely on the roadmap as part of security hardening.

Regarding CORS, the application currently runs as a same-origin server-rendered app rather than a cross-origin API, so CORS headers aren’t enabled by default. If external clients or integrations are added in the future, I’d likely introduce a restricted allowlist for specific API routes.

source
Sort:hotnewtop