Parcourir la source

Fix base href in index.html for deployment

Tim Jones il y a 1 mois
Parent
commit
a9af69ca99
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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