add base href

This commit is contained in:
DerTyp7
2023-09-26 16:22:34 +02:00
parent 583e38adfc
commit 92a54b2960
3 changed files with 4 additions and 3 deletions

View File

@@ -6,4 +6,4 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
Run `ng serve --serve-path /local-analyzer-angular/` for a dev server. Navigate to `http://localhost:4200/local-analyzer-angular`. The application will automatically reload if you change any of the source files.

View File

@@ -20,6 +20,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref": "/local-analyzer-angular/",
"outputPath": "dist/local-analyzer",
"index": "src/index.html",
"main": "src/main.ts",

View File

@@ -37,11 +37,11 @@ h5 {
.pta-circle-true {
border-color: rgb(76, 231, 140);
background-image: url("../../assets/images/tick.svg");
background-image: url("/local-analyzer-angular/assets/images/tick.svg");
}
.pta-circle-false {
border-color: rgb(209, 39, 39);
background-image: url("../../assets/images/cross.svg");
background-image: url("/local-analyzer-angular/assets/images/cross.svg");
}
}