mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
e5f64eb21d
When the deployment option is enabled auth cookies are prefixed with `__HOST-` ([info](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie)). This is all done in a middleware that intercepts all requests and strips the prefix on incoming request cookies.