From a69c7cfc174c82dafdc1d451178547edeada9edd Mon Sep 17 00:00:00 2001 From: Ajai Nelson <22969541+AjaiKN@users.noreply.github.com> Date: Fri, 16 Feb 2024 14:13:48 -0500 Subject: [PATCH] Fix reloading any page other than / Before this, if you went to https://obiesource.github.io/csmc-website/charter, for example, then reloaded the page, it wouldn't work. https://github.com/rafgraph/spa-github-pages --- index.html | 31 +++++++++++++++++++++++++++++ public/404.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 public/404.html diff --git a/index.html b/index.html index 263d865..0e88014 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,37 @@ CSMC + + + +
diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..bb5b716 --- /dev/null +++ b/public/404.html @@ -0,0 +1,53 @@ + + + + + Single Page Apps for GitHub Pages + + + +