From 5df3d215c2ffa5d0aa8140fa5d33807fc31fa909 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Thu, 12 Jul 2018 12:00:23 +0800
Subject: [PATCH] updates

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

diff --git a/src/app/core/net/default.interceptor.ts b/src/app/core/net/default.interceptor.ts
index 646fd59..6233402 100644
--- a/src/app/core/net/default.interceptor.ts
+++ b/src/app/core/net/default.interceptor.ts
@@ -27,11 +27,10 @@
 
         // TIPS������TOKEN��������������� `@delon/auth` ������
         // Document: http://ng-alain.com/docs/auth
-
         // ���������������������������
         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