Explorar el Código

fix: 前端调整

拎壶冲 hace 6 meses
padre
commit
62092bc850

+ 5 - 1
src/main/angular/src/app/core/httpInterceptor/base-interceptor.ts

@@ -10,7 +10,11 @@ export class BaseInterceptor implements HttpInterceptor {
         let patchedReq = req;
         if (/.*\.pinpoint(ws)?$/.test(req.url)) {
             patchedReq = req.clone({
-                url: urlPrefix + req.url
+                url: urlPrefix + req.url,
+                setHeaders: {
+                    'Clienttag': 'INNET_BROWSE',
+                    'Currentroute': location.pathname
+                }
             });
         }