Browse Source

Merge pull request #166 from Timmoth/Timmoth-patch-2

Fix base href in index.html for deployment
Tim Jones 2 months ago
parent
commit
f0d79399e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/publish-webui.yml

+ 1 - 1
.github/workflows/publish-webui.yml

@@ -34,7 +34,7 @@ jobs:
       # patch base href FIRST
       # patch base href FIRST
       - name: Fix base href for Pages
       - name: Fix base href for Pages
         run: |
         run: |
-          sed -i 's|<base href="/" />|<base href="/RackPeek/" />|g' publish/wwwroot/index.html
+          sed -i 's|<base href="/"|<base href="/RackPeek/"|g' publish/wwwroot/index.html
 
 
       # THEN copy to 404.html
       # THEN copy to 404.html
       - name: SPA fallback
       - name: SPA fallback