修改前端文件路径
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
|
cd MoviePilot-Frontend
|
||||||
yarn && yarn build
|
yarn && yarn build
|
||||||
cd ..
|
cd ..
|
||||||
mkdir -p public
|
mkdir -p /public
|
||||||
cp -rf ./MoviePilot-Frontend/dist/* ./public/
|
cp -rf ./MoviePilot-Frontend/dist/* /public/
|
||||||
rm -rf MoviePilot-Frontend
|
rm -rf MoviePilot-Frontend
|
||||||
chmod +x start.sh
|
chmod +x start.sh
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ http {
|
|||||||
# 主目录
|
# 主目录
|
||||||
expires off;
|
expires off;
|
||||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||||
root /app/public;
|
root /public;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ http {
|
|||||||
# 静态资源
|
# 静态资源
|
||||||
expires 7d;
|
expires 7d;
|
||||||
add_header Cache-Control "public";
|
add_header Cache-Control "public";
|
||||||
root /app/public;
|
root /public;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/v1/site/icon/ {
|
location /api/v1/site/icon/ {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user