From 747daab4cbd94a1d20fb86d7def7377d5ede233a Mon Sep 17 00:00:00 2001 From: Caozhenhui <823914102@qq.com> Date: Wed, 15 Dec 2021 11:49:46 +0800 Subject: [PATCH] 2021/12/15 11:49 --- admin/app/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/app/api.js b/admin/app/api.js index ae9f7569..89aa9e28 100644 --- a/admin/app/api.js +++ b/admin/app/api.js @@ -1,6 +1,6 @@ //Switch Classes Function function getAPI(){ - // return "http://127.0.0.1:8000/"; + //return "http://127.0.0.1:8000/"; // to avoid CORS issue, use Nginx to proxy myems-api to path /api with the same ip and port as myems-web return window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api/"; }