From 655edbc7405188c4bb32e63bf52a9a31ac00d75c Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 12 Jul 2018 10:26:45 +0800
Subject: [PATCH] home-page

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

diff --git a/src/app/core/net/default.interceptor.ts b/src/app/core/net/default.interceptor.ts
index 646fd59..236992a 100644
--- a/src/app/core/net/default.interceptor.ts
+++ b/src/app/core/net/default.interceptor.ts
@@ -27,11 +27,11 @@
 
         // TIPS������TOKEN��������������� `@delon/auth` ������
         // Document: http://ng-alain.com/docs/auth
-
+         debugger;
         // ���������������������������
         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;
         }
 
         const newReq = req.clone({

--
Gitblit v1.8.0