CSCfi / CSCfi/rems

HTTP 404 for not found pages

Open
#1,656 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

Currently for SPA navigation the backend returns index.html for every URL (`rems.handler/not-found-handler`) and the frontend will determine whether the page exists and render a page-not-found message. By making the backend aware of the SPA routes (move secretary stuff from `rems/spa.cljs` to a `.cljc` file), the backend could return a HTTP 404 code and backend-generated error page for not found pages.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.