N
Nick
@devnic · joined 2026-04-03
0 followers
0 following
0 articles
3 discussions
Articles
No articles yet.
Discussions
Is it safe to put a JWT in a non-HttpOnly cookie if JS needs to read it?
Single-page app, API on a separate subdomain. We need the client to read a claim from the token to decide which UI to render, so the cookie cannot be HttpOnly.…
fetch with credentials still gets 403 across origins
Frontend on localhost:5173 calls an API on localhost:8787. I send credentials: include and the server sets Access-Control-Allow-Origin: *. Browser blocks it.
Why does docker compose up rebuild the same image every time?
Every compose up reruns npm install and takes 90 seconds. Nothing in package.json changed. I thought the layer cache would catch it. Dockerfile is roughly FROM…