瀏覽代碼

minor

master
Daniel 2 年之前
父節點
當前提交
b75abfd924
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      matsen-tool/src/app/_helpers/jwt.interceptor.ts

+ 0
- 1
matsen-tool/src/app/_helpers/jwt.interceptor.ts 查看文件

@@ -10,7 +10,6 @@ export class JwtInterceptor implements HttpInterceptor {
constructor(private accountService: AccountService) { }

intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
console.log('intercept');
// add auth header with jwt if user is logged in and request is to the api url
const user = this.accountService.userValue;
const isLoggedIn = user && user.token;


Loading…
取消
儲存