mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2026-05-14 22:00:30 +09:00
#30 added new module with all config for a security layer
This commit is contained in:
@@ -53,9 +53,6 @@ export class ApiService {
|
||||
if (args)
|
||||
options['params'] = serialize(args);
|
||||
|
||||
// if(this.jwtToken)
|
||||
// options.headers = options.headers.set('Authorization', `Bearer ${this.jwtToken}`);
|
||||
|
||||
return this.http.get(path, options)
|
||||
.pipe(catchError(this.checkError.bind(this)));
|
||||
}
|
||||
@@ -78,9 +75,6 @@ export class ApiService {
|
||||
withCredentials: true
|
||||
}
|
||||
|
||||
// if(this.jwtToken)
|
||||
// options.headers = options.headers.append('Authorization', `Bearer ${this.jwtToken}`);
|
||||
|
||||
const req = new HttpRequest(method, path, body, options);
|
||||
|
||||
return this.http.request(req)
|
||||
|
||||
Reference in New Issue
Block a user