Commit Graph
2 Commits
Author SHA1 Message Date
XhmikosR 671cdbb939 html: minor cleanup
* `X-UA-Compatible` is not honored by IE 11
* the type `text/javascript` is unneeded since it's the default
* replace the obsolete in HTML5 `align="center"` with inline CSS

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-12 09:58:50 +02:00
Mcat12 d09fbe8284 Support refreshing on GitHub Pages
GitHub Pages does not support client-side routing, so when a user is on
`/whitelist` and refreshes, they get a 404 because there is no
`whitelist` file on the server. This is fixed by adding a custom 404
page which handles redirecting to index.html with the original path.

Credit for this goes to https://github.com/rafrex/spa-github-pages

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-02-16 12:21:52 -08:00