reworked style import
This commit is contained in:
parent
c3f7d74c7a
commit
0c1c6b937b
@ -1,7 +1,7 @@
|
|||||||
import {HttpEvent, HttpHandler, HttpInterceptor, HttpRequest} from '@angular/common/http';
|
import {HttpEvent, HttpHandler, HttpInterceptor, HttpRequest} from '@angular/common/http';
|
||||||
import {Injectable} from '@angular/core';
|
import {Injectable} from '@angular/core';
|
||||||
import {Observable} from 'rxjs';
|
import {Observable} from 'rxjs';
|
||||||
import {AppConfigKey, AppConfigService} from "../app-config/app-config.service";
|
import {AppConfigService} from "../app-config/app-config.service";
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class ApiPathInterceptorService implements HttpInterceptor {
|
export class ApiPathInterceptorService implements HttpInterceptor {
|
||||||
@ -10,14 +10,6 @@ export class ApiPathInterceptorService implements HttpInterceptor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
|
||||||
|
|
||||||
// if (!req.url.startsWith('/assets')) {
|
|
||||||
// const updatedRequest = req.clone({
|
|
||||||
// url: this._appConfigService.getConfig(AppConfigKey.API_URL) + req.url
|
|
||||||
// })
|
|
||||||
// return next.handle(updatedRequest);
|
|
||||||
// } else {
|
|
||||||
return next.handle(req);
|
return next.handle(req);
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import "../../../../../../assets/styles/red-variables";
|
@import "../../../assets/styles/red-variables";
|
||||||
|
|
||||||
.red-top-bar {
|
.red-top-bar {
|
||||||
height: 61px;
|
height: 61px;
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
@import "../../../../../../../../assets/styles/red-variables";
|
@import "../../../../../assets/styles/red-variables";
|
||||||
|
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
@import "../../../../../../assets/styles/red-mixins";
|
@import "../../../assets/styles/red-mixins";
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400;500;700&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400;500;700&display=swap');
|
||||||
@import '~ngx-toastr/toastr';
|
@import '~ngx-toastr/toastr';
|
||||||
@import "red-material-theme";
|
@import "red-material-theme";
|
||||||
@import "page-layout";
|
@import "red-page-layout";
|
||||||
@import "red-text-styles";
|
@import "red-text-styles";
|
||||||
@import "red-dialog";
|
@import "red-dialog";
|
||||||
@import "red-input";
|
@import "red-input";
|
||||||
@ -1,2 +1,2 @@
|
|||||||
/* You can add global styles to this file, and also import other style files */
|
/* You can add global styles to this file, and also import other style files */
|
||||||
@import "../../../assets/styles/red-theme";
|
@import "./assets/styles/red-theme";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user