From 439c10276cd09266bfc6195f04d06fc2ac89528b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 30 Oct 2023 17:55:33 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=89=8D=E5=90=8E=E5=88=86=E7=A6=BB?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E4=B8=8D=E8=83=BD=E4=BD=BF=E7=94=A8=E5=85=AC?= =?UTF-8?q?=E5=85=B1=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/.env.staging | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/core/frontend/.env.staging b/core/frontend/.env.staging index cf0eaefd52..99c557e396 100644 --- a/core/frontend/.env.staging +++ b/core/frontend/.env.staging @@ -6,5 +6,24 @@ ENV = 'staging' # base api VUE_APP_BASE_API = '/de-api/' -VUE_CONTEXT_PATH = 'de-api/' +VUE_CONTEXT_PATH = '/' + +#for nginx conf +#location / { +# root /Users/admin/Downloads/dist/; +# index index.html index.htm; +#} +#location ~* \.(html|htm)$ { +# if ($uri = '/de-api/link.html') { +# rewrite ^/de-api/(.*)$ /$1 redirect; +# } +# root /Users/admin/Downloads/dist/; +#} +#location /de-api/ { +# #rewrite ^/de-api/#/(.*)$ /$1 break; +# proxy_pass http://localhost:8081/de-api/; +# proxy_set_header X-Real-IP $remote_addr; +# server_name_in_redirect on; +#} +