Skip to content

Commit

Permalink
EES-5562 Add custom error pages to public API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsim committed Dec 19, 2024
1 parent e79f839 commit 2bec41d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions src/explore-education-statistics-api-docs/source/404.html.md.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Page not found
hide_in_navigation: true
prevent_indexing: true
---

# Page not found

If you typed the web address, check it is correct.

If you pasted the web address, check you copied the entire address.

If the web address is correct or you selected a link or button, [contact our explore education statistics team](/support/index.html)
if you need any help or support.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"trailingSlash": "auto"
"trailingSlash": "auto",
"responseOverrides": {
"404": {
"rewrite": "/404.html"
}
}
}

0 comments on commit 2bec41d

Please sign in to comment.