Skip to content

Commit

Permalink
Fix SPA deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDangl committed Oct 16, 2024
1 parent 46ef717 commit 450df52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static IApplicationBuilder ConfigureOpenCdeApp(this IApplicationBuilder a
}
else
{
spa.Options.DefaultPage = "/dist/index.html";
spa.Options.DefaultPage = "/dist/browser/index.html";
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/server/dangl-opencde-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:production": "ng build --output-path ../Dangl.OpenCDE/wwwroot/dist --deploy-url /dist/",
"build:production": "ng build --output-path ../Dangl.OpenCDE/wwwroot/dist --deploy-url /dist/browser/",
"watch": "ng build --watch --configuration development",
"test": "ng test --no-watch",
"format:fix": "pretty-quick --staged",
Expand Down

0 comments on commit 450df52

Please sign in to comment.