From b05438694c2fb9d4c8b1b22f4481639ff0f35963 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 07 May 2018 15:16:38 +0800
Subject: [PATCH] 三级警报数据

---
 src/app/core/net/default.interceptor.ts |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/core/net/default.interceptor.ts b/src/app/core/net/default.interceptor.ts
index 33a9917..cd954e0 100644
--- a/src/app/core/net/default.interceptor.ts
+++ b/src/app/core/net/default.interceptor.ts
@@ -69,8 +69,9 @@
         }        
         // ���������������������������
         let url = req.url;
-        if (!url.startsWith('https://') && !url.startsWith('http://')) {
-            url = environment.SERVER_URL + url;
+        if (!url.startsWith('https://') && !url.startsWith('http://')&& !url.startsWith('assets')) {
+            // url = environment.SERVER_URL + url;
+            url = environment.SERVER_BASH_URL+url;
         }
 
         const newReq = req.clone({

--
Gitblit v1.8.0