Skip to content
Snippets Groups Projects
Commit a07b951d authored by Xiao Gui's avatar Xiao Gui
Browse files

fixing lint

parent 2103cc27
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ export class AtlasViewerConstantsServices implements OnDestroy { ...@@ -52,7 +52,7 @@ export class AtlasViewerConstantsServices implements OnDestroy {
} }
// instead of using window.location.href, which includes query param etc // instead of using window.location.href, which includes query param etc
public backendUrl = `${BACKEND_URL}/`.replace(/\/\/$/, '\/') || `${window.location.origin}${window.location.pathname}` public backendUrl = `${BACKEND_URL}/`.replace(/\/\/$/, '/') || `${window.location.origin}${window.location.pathname}`
private fetchTemplate = (templateUrl) => this.http.get(`${this.backendUrl}${templateUrl}`, { responseType: 'json' }).pipe( private fetchTemplate = (templateUrl) => this.http.get(`${this.backendUrl}${templateUrl}`, { responseType: 'json' }).pipe(
switchMap((template: any) => { switchMap((template: any) => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment