From 4b35f9a98f9431e17fc96d998c7cc9021776787b Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 12 Jul 2018 11:50:24 +0800
Subject: [PATCH] 删除多余文件
---
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