🔧 fix: update spa.html handling to ensure symlink removal and prevent errors

This commit is contained in:
apairon committed 2025-10-30 09:36:53 +00:00
1 parent 4893d925c5
commit ae39987c7d
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
# sed -i s/__TIMESTAMP__/$stamp/g frontend/serviceworker.js
# cat frontend/serviceworker.js
test -d api/templates && test -f api/templates/spa.html && rm api/templates/spa.html
test -d api/templates && test -L api/templates/spa.html && rm api/templates/spa.html || test -d api/templates && test -f api/templates/spa.html && rm api/templates/spa.html
test -d api/templates && cp frontend/spa.html api/templates/spa.html
cp frontend/spa.html api/templates/spa.html
echo ______ frontend/spa.html ______