Skip to content

Commit

Permalink
added: baseHref into angular.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Nov 22, 2023
1 parent 50b4812 commit 187a365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

## Build the angular app in production mode and store the artifacts in dist folder

RUN npm run ng build --configuration="prod" --output-path=dist --base-href="./" --output-hashing=none --build-optimizer=true --vendor-chunk
RUN npm run ng build --configuration="prod" --output-path=dist


### STAGE 2: Setup ###
Expand Down
1 change: 1 addition & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"baseHref":"./",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
Expand Down

0 comments on commit 187a365

Please sign in to comment.