修改前端文件路径
This commit is contained in:
parent
9677a63244
commit
713800f615
4
.github/workflows/build-docker.yml
vendored
4
.github/workflows/build-docker.yml
vendored
@ -38,8 +38,8 @@ jobs:
|
||||
cd MoviePilot-Frontend
|
||||
yarn && yarn build
|
||||
cd ..
|
||||
mkdir -p public
|
||||
cp -rf ./MoviePilot-Frontend/dist/* ./public/
|
||||
mkdir -p /public
|
||||
cp -rf ./MoviePilot-Frontend/dist/* /public/
|
||||
rm -rf MoviePilot-Frontend
|
||||
chmod +x start.sh
|
||||
|
||||
|
@ -30,7 +30,7 @@ http {
|
||||
# 主目录
|
||||
expires off;
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
root /app/public;
|
||||
root /public;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ http {
|
||||
# 静态资源
|
||||
expires 7d;
|
||||
add_header Cache-Control "public";
|
||||
root /app/public;
|
||||
root /public;
|
||||
}
|
||||
|
||||
location /api/v1/site/icon/ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user