🔧 fix: update spa.html handling to ensure symlink removal and prevent errors
This commit is contained in:
@@ -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 ______
|
||||
|
||||
1
api/templates/spa.html
Symbolic link
1
api/templates/spa.html
Symbolic link
@@ -0,0 +1 @@
|
||||
frontend/spa.html
|
||||
Reference in New Issue
Block a user