diff --git a/angular.json b/angular.json index 34cb45a..dd66c8e 100644 --- a/angular.json +++ b/angular.json @@ -46,6 +46,14 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" + }, + { + "replace": "src/index.html", + "with": "src/index.prod.html" + }, + { + "replace": "src/robots.txt", + "with": "src/robots.prod.txt" } ] }, @@ -134,6 +142,14 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" + }, + { + "replace": "src/index.html", + "with": "src/index.prod.html" + }, + { + "replace": "src/robots.txt", + "with": "src/robots.prod.txt" } ] }, diff --git a/package.json b/package.json index bcd03f9..1fcfabb 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ ], "scripts": { "ng": "ng", - "start": " ng serve --port 4600 --disable-host-check --host 0.0.0.0", + "start": " ng serve --port 4600 --disable-host-check --host 0.0.0.0 --base-href /dashboard/", "start:ssr": "npm run build:ssr && npm run serve:ssr", "start:prerender": "npm run build:prerender && npm run serve:prerender", "start:ssr-beta": "npm run build:ssr-beta && npm run serve:ssr", diff --git a/src/app/app.component.html b/src/app/app.component.html index 9bffc35..4c03e66 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -9,6 +9,12 @@ [alt]="properties.environment">