From 5c0d8040266554b67e852ccb7056c3d0cae4b4ef Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Thu, 12 Jul 2018 10:11:10 +0800 Subject: [PATCH] 菜单配置 --- 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