mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
更新注释
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /cookiecloud {
|
location /cookiecloud {
|
||||||
# 后端API
|
# 后端cookiecloud地址
|
||||||
proxy_pass http://backend_api;
|
proxy_pass http://backend_api;
|
||||||
rewrite ^.+mock-server/?(.*)$ /$1 break;
|
rewrite ^.+mock-server/?(.*)$ /$1 break;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ app.use(
|
|||||||
app.use(
|
app.use(
|
||||||
'/cookiecloud',
|
'/cookiecloud',
|
||||||
proxy(`${proxyConfig.URL}:${proxyConfig.PORT}`, {
|
proxy(`${proxyConfig.URL}:${proxyConfig.PORT}`, {
|
||||||
// 路径加上 /api 前缀
|
// 路径加上 /cookiecloud 前缀
|
||||||
proxyReqPathResolver: (req) => {
|
proxyReqPathResolver: (req) => {
|
||||||
return `/cookiecloud${req.url}`
|
return `/cookiecloud${req.url}`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user