diff --git a/README.md b/README.md index 7f56ed6..4110d7a 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/angular.json b/angular.json index 2e33a6b..f4bfa21 100644 --- a/angular.json +++ b/angular.json @@ -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", diff --git a/src/app/analyze/analyze.component.scss b/src/app/analyze/analyze.component.scss index e08ccc7..3ab89fa 100644 --- a/src/app/analyze/analyze.component.scss +++ b/src/app/analyze/analyze.component.scss @@ -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"); } }