From c2ea0f8adf0e4ea7618ac7124fb52e897d69a2f9 Mon Sep 17 00:00:00 2001 From: dmlbs Date: Thu, 8 Aug 2024 17:49:21 -0600 Subject: [PATCH] add build script for github pages --- package.json | 1 + src/app/page-not-found/page-not-found.component.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b87f71a..2e37f7e 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "ng": "ng", "start": "ng serve", "build": "ng build", + "build:ghpages": "ng build --configuration production --base-href=https://dmlb.github.io/covid-care/", "watch": "ng build --watch --configuration development", "test": "ng test --no-watch --no-progress --browsers=ChromeHeadless", "serve:ssr:covid-care": "node dist/covid-care/server/server.mjs", diff --git a/src/app/page-not-found/page-not-found.component.css b/src/app/page-not-found/page-not-found.component.css index 52eab93..c40d841 100644 --- a/src/app/page-not-found/page-not-found.component.css +++ b/src/app/page-not-found/page-not-found.component.css @@ -1,4 +1,4 @@ -:host() { +:host { height: 70vh; display: flex; flex-direction: column;