From 12ea35ced76fb93c0d3c81ca85ef481fcb202eaf Mon Sep 17 00:00:00 2001 From: hxh <762326930@qq.com> Date: Tue, 31 Oct 2023 16:45:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9ng=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/Dockerfile | 1 - deploy/nginx.conf.tmpl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 194cdb4..cafad7f 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -8,7 +8,6 @@ source /opt/rh/devtoolset-8/enable && \ yarn config set strict-peer-dependencies false && \ yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass && \ yarn config set registry http://172.16.32.57:8931/repository/npm-group/ && \ -npm install core-js@3 --save && \ yarn && \ yarn run build diff --git a/deploy/nginx.conf.tmpl b/deploy/nginx.conf.tmpl index e693438..638b0f6 100644 --- a/deploy/nginx.conf.tmpl +++ b/deploy/nginx.conf.tmpl @@ -58,7 +58,7 @@ http { } location /api { - rewrite ^/api/(.*)$ /$1 break; + rewrite ^/api/(.*)$ /tianhui-admin-web/$1 break; proxy_pass ${API_SERVER}; }