From 007b7c8a7e05e36c213701fd922810bd10215485 Mon Sep 17 00:00:00 2001 From: ecrum19 Date: Tue, 16 Sep 2025 09:15:07 +0200 Subject: [PATCH] added 404.html file after build step to handle gh-pages routing issues --- 404.html | 42 ------------------------------------------ main.yml | 2 ++ src/stores/auth.ts | 2 +- 3 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 404.html diff --git a/404.html b/404.html deleted file mode 100644 index 07a58d77..00000000 --- a/404.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - Solid Cockpit - - - - - - - - - - - - - - - - -
- - - - - - - diff --git a/main.yml b/main.yml index 52fd170c..50c0533d 100644 --- a/main.yml +++ b/main.yml @@ -24,6 +24,8 @@ jobs: run: | yarn i yarn run build + cd dist + cp index.html 404.html - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@releases/v4 with: diff --git a/src/stores/auth.ts b/src/stores/auth.ts index f443c287..698d30e3 100644 --- a/src/stores/auth.ts +++ b/src/stores/auth.ts @@ -5,7 +5,7 @@ export const useAuthStore = defineStore("auth", { state: () => ({ loggedIn: false, webId: "" as string, - selectedPodUrl: "" as string, // New state for selected Pod URL + selectedPodUrl: "" as string, }), actions: { initializeAuth() {