Skip to content

Website: contribution and library routes return HTTP 404 on direct requests #3

Open

Description

Direct requests to the contribution page return HTTP 404, even though the response contains the application HTML. The homepage returns HTTP 200. The /library route also returns 404.

This affects links published in README.md, CONTRIBUTING.md, and .github/ISSUE_TEMPLATE/config.yml: clients that reject non-success responses cannot open them reliably.

Reproduction

Checked on 2026-11-05 using GET requests with redirects enabled:

curl -sS -L -o /dev/null -w '%{http_code}\n' https://stacks.axiommath.ai/
# 200

curl -sS -L -o /dev/null -w '%{http_code}\n' https://stacks.axiommath.ai/contributing
# 404

curl -sS -L -o /dev/null -w '%{http_code}\n' https://stacks.axiommath.ai/library
# 404

The /contributing response has Content-Type: text/html; charset=utf-8, a Server: GitHub.com header, and an application shell containing view-contributing. The deployed app.js uses history.pushState and reads location.pathname for these routes. A browser may therefore render the page despite the error status; this report concerns the HTTP response rather than claiming the UI is always blank.

Expected behavior

Direct navigation and refresh on supported application routes should return HTTP 200 and render the requested view. Missing assets and genuinely unknown routes should retain appropriate error responses.

Possible fix

The hosting behavior appears consistent with an SPA shell being served as a 404 fallback. Depending on the deployment, serve an index document at each supported route or configure successful SPA rewrites. Query parameters for shared task and tag links should be preserved.

I could not find the website source or deployment configuration in this repository at 012108f61d7f92a6ffc35ec3f263b6da5d438125, so I cannot propose a routing patch here. If it lives in another public repository, please point me to it and I can help with a focused fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions