ITADN

Web server serving user manual is misconfiugred

#1574Opengaykitty 创建于 2026-02-23
bug
G
gaykittycommented
**Describe the bug** When going to the user manual linked in the README, the web page doesn't render correctly in Firefox or Chrome due to CORs errors and the web server setting content type to html for every response, even for js and css file. Apologizes if this is not the correct place to file this bug. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://nixos.org/hydra/manual/ 2. Be redirected to https://hydra.nixos.org/build/320776346/download/1/hydra/ 3. Page does not render correctly **Expected behavior** The page should render correctly. **Screenshots** <img width="3840" height="1850" alt="Image" src="https://github.com/user-attachments/assets/b2febd3a-9039-4956-b13b-50a02d49c231" /> **Hydra Server:** N/A **Additional context** Browser logs ``` A resource is blocked by OpaqueResponseBlocking, please check browser console for details. highlight.js A resource is blocked by OpaqueResponseBlocking, please check browser console for details. book.js A resource is blocked by OpaqueResponseBlocking, please check browser console for details. font-awesome.css A resource is blocked by OpaqueResponseBlocking, please check browser console for details. chrome.css A resource is blocked by OpaqueResponseBlocking, please check browser console for details. variables.css A resource is blocked by OpaqueResponseBlocking, please check browser console for details. general.css Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. fonts.css Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. tomorrow-night.css Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. ayu-highlight.css Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. toc.js Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. elasticlunr.min.js Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. mark.min.js Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. searcher.js Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. clipboard.min.js Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. highlight.css Uncaught DOMException: Window.sessionStorage getter: Forbidden in a sandboxed document without the 'allow-same-origin' flag. connectedCallback https://hydra.nixos.org/build/320776346/download/1/hydra/toc.js:48 toc.js:48:32 Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. print.css Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. highlight.js Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. book.js Cookie “hydra_session” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. favicon.svg This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html for further details and to join the discussion on related tools and features! hydra ```
2 条评论