更新注释

This commit is contained in:
ljmeng
2024-03-16 18:26:11 +08:00
parent 664b6610f3
commit dec3e1ea92
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ http {
}
location /cookiecloud {
# 后端API
# 后端cookiecloud地址
proxy_pass http://backend_api;
rewrite ^.+mock-server/?(.*)$ /$1 break;
proxy_http_version 1.1;

View File

@@ -29,7 +29,7 @@ app.use(
app.use(
'/cookiecloud',
proxy(`${proxyConfig.URL}:${proxyConfig.PORT}`, {
// 路径加上 /api 前缀
// 路径加上 /cookiecloud 前缀
proxyReqPathResolver: (req) => {
return `/cookiecloud${req.url}`
}