From 0db7cd9faef59c5e794f0b2f0090b6364d3d7fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Sch=C3=BCtze?= <151851258+TIL-EBP@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:38:40 +0200 Subject: [PATCH] Update node-deploy.yml Copy the index.html to a 404.html file so the app can be opened from non-Root pages. This is a workaround for SPAs hosten on github pages --- .github/workflows/node-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/node-deploy.yml b/.github/workflows/node-deploy.yml index 8627c4df..2b511c65 100644 --- a/.github/workflows/node-deploy.yml +++ b/.github/workflows/node-deploy.yml @@ -28,6 +28,7 @@ jobs: run: | npm ci npm run build-dev-ebp + cp ./dist/browser/index.html ./dist/browser/404.html - name: Create CNAME file for custom domain run: echo 'dev.geo.zh.ch' > ./dist/browser/CNAME