From 8b247e68492cea5da3d8e669ebfe7fd9b94c8790 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 26 Aug 2019 14:24:49 +0800 Subject: [PATCH] path --- public/react/src/public-path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/public-path.js b/public/react/src/public-path.js index fb82840d4..d154b8ad7 100644 --- a/public/react/src/public-path.js +++ b/public/react/src/public-path.js @@ -1,5 +1,5 @@ /*global __webpack_public_path__ */ -if (window.location.host == '47.96.87.25:48080') { +if (window.location.host == 'pre-newweb.educoder.net') { __webpack_public_path__ = 'http://testali-cdn.educoder.net/react/build/' } else if (window.location.host == 'www.educoder.net') { __webpack_public_path__ = 'https://ali-newweb.educoder.net/react/build/'