From 103080419cb47281150972bb54f02b47f53344ce Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 23 Mar 2023 13:03:23 +0100 Subject: [PATCH] baseref --- apps/doc-gen/project.json | 3 ++- apps/doc-viewer/project.json | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/doc-gen/project.json b/apps/doc-gen/project.json index d1aec53ce1..55bb62bd16 100644 --- a/apps/doc-gen/project.json +++ b/apps/doc-gen/project.json @@ -14,7 +14,7 @@ "compiler": "babel", "outputPath": "dist/apps/doc-gen", "index": "apps/doc-gen/src/index.html", - "baseHref": "./", + "baseHref": "/", "main": "apps/doc-gen/src/main.tsx", "tsConfig": "apps/doc-gen/tsconfig.app.json", "assets": [ @@ -28,6 +28,7 @@ "development": { }, "production": { + "baseHref": "./", "fileReplacements": [ { "replace": "apps/doc-gen/src/environments/environment.ts", diff --git a/apps/doc-viewer/project.json b/apps/doc-viewer/project.json index 08068881e4..46e4ff5219 100644 --- a/apps/doc-viewer/project.json +++ b/apps/doc-viewer/project.json @@ -14,7 +14,7 @@ "compiler": "babel", "outputPath": "dist/apps/doc-viewer", "index": "apps/doc-viewer/src/index.html", - "baseHref": "./", + "baseHref": "/", "main": "apps/doc-viewer/src/main.tsx", "tsConfig": "apps/doc-viewer/tsconfig.app.json", "assets": [ @@ -28,6 +28,7 @@ "development": { }, "production": { + "baseHref": "./", "fileReplacements": [ { "replace": "apps/doc-viewer/src/environments/environment.ts", @@ -42,7 +43,8 @@ "defaultConfiguration": "development", "options": { "buildTarget": "doc-viewer:build", - "hmr": true + "hmr": true, + "baseHref": "/" }, "configurations": { "development": {