From 14690fe7d39c8a147eeff884d45fff15e6b41522 Mon Sep 17 00:00:00 2001 From: Andrew Wei Date: Thu, 19 Sep 2024 18:05:17 +0800 Subject: [PATCH] feat: Add 404.html --- .github/workflows/cd.yaml | 1 + src/static/404.html | 23 +++++++++++++++++++++++ src/static/_redirects | 1 - 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 src/static/404.html delete mode 100644 src/static/_redirects diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 73d93e8..4ba05a7 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -20,6 +20,7 @@ jobs: - name: Deploy to GitHub pages uses: andrewscwei/actions/gh-pages-deploy@v2 with: + cname: ${{ vars.CNAME }} deploy-path: public notify: name: Notify diff --git a/src/static/404.html b/src/static/404.html new file mode 100644 index 0000000..ea2c8f3 --- /dev/null +++ b/src/static/404.html @@ -0,0 +1,23 @@ + + + + + + + 404 + + +

+ ⢀⣴⣶⣶⡄⠀⢀⣴⣶⣶⣄⠀⠀⣤⣶⣶⣤⠀⠀⠀⠀⠀⠀⠀⠀⢠⣶⣶⣦⡀ + ⢺⣿⣿⣿⣿⠀⢸⣿⣿⣿⣿⠀⠸⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿⣿⡿ + ⠈⠙⠻⠛⠁⠀⠀⠙⠛⠛⠁⠀⠀⠙⠛⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⠟⠛⠁ + ⢀⣤⣶⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣶⣶⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣶⣤⡀ + ⢺⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠰⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⡷ + ⠈⠛⠿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⠿⠛⠁ + ⢀⣠⣤⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣄⠀⠀⢀⣤⣤⣄⠀⠀⢀⣤⣤⣤⡀ + ⢼⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⢰⣿⣿⣿⣿⡆⠀⣿⣿⣿⣿⡇⠀⣾⣿⣿⣿⣷ + ⠈⠻⠿⠿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⠿⠛⠀⠀⠙⠿⠿⠟⠁⠀⠘⠻⠿⠟⠃ +

+

If you're not redirected automatically, click here.

+ + diff --git a/src/static/_redirects b/src/static/_redirects deleted file mode 100644 index 4308505..0000000 --- a/src/static/_redirects +++ /dev/null @@ -1 +0,0 @@ -/* /index.html 200