From ef58282cb2c3cbd5a0ad83dac5362838b6a099f6 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Thu, 19 Oct 2023 17:39:22 +0100 Subject: [PATCH] Update npm scripts stanza with start options to disable host checking --- ui/package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/package.json b/ui/package.json index c426db9f4..8e12d215f 100644 --- a/ui/package.json +++ b/ui/package.json @@ -3,9 +3,10 @@ "version": "0.0.0", "scripts": { "ng": "ng", - "start": "ng serve", - "build": "ng build", - "watch": "ng build --watch --configuration development", + "start": "ng serve --disable-host-check --host 0.0.0.0", + "start_ssl": "ng serve --disable-host-check --host 0.0.0.0 --ssl", + "build": "ng build --base-href ./", + "watch": "ng build --base-href ./ --watch --configuration development", "test": "ng test" }, "private": true,