diff --git a/.env.development b/.env.development index a6ee4e59..2bc780e3 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ VITE_PUBLIC_PATH = / # Cross-domain proxy, you can configure multiple # Please note that no line breaks -VITE_PROXY = [["/basic-api","http://lcny.sk797.cn"],["/upload","http://lcny.sk797.cn/api/web/upload"],['/live','https://open.ys7.com']] +VITE_PROXY = [["/basic-api","https://lcny.sk797.cn"],["/upload","https://lcny.sk797.cn/api/web/upload"],['/live','https://open.ys7.com']] # Delete console VITE_DROP_CONSOLE = false diff --git a/.env.test b/.env.test index 736522ba..e12f868b 100644 --- a/.env.test +++ b/.env.test @@ -17,7 +17,7 @@ VITE_BUILD_COMPRESS = 'none' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false # Basic interface address SPA -VITE_GLOB_API_URL= http://lcny.sk797.cn +VITE_GLOB_API_URL= https://lcny.sk797.cn # File upload address, optional # It can be forwarded by nginx or write the actual address directly