From 9fb0f584a631f82ca17325cee315dad56bd5afd5 Mon Sep 17 00:00:00 2001 From: ThompsonNye Date: Sun, 15 Jun 2025 12:33:52 +0200 Subject: [PATCH] Update launch configurations --- src/Vegasco-Web/.vscode/tasks.json | 7 +++++++ src/Vegasco-Web/package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Vegasco-Web/.vscode/tasks.json b/src/Vegasco-Web/.vscode/tasks.json index a298b5b..ef8c754 100644 --- a/src/Vegasco-Web/.vscode/tasks.json +++ b/src/Vegasco-Web/.vscode/tasks.json @@ -5,6 +5,13 @@ { "type": "npm", "script": "start", + "options": { + "env": { + "PORT": "4200", + "services__Vegasco-Server-Api__https__0": "https://localhost:7098", + "NODE_ENV": "development" + } + }, "isBackground": true, "problemMatcher": { "owner": "typescript", diff --git a/src/Vegasco-Web/package.json b/src/Vegasco-Web/package.json index c83237b..5da04c3 100644 --- a/src/Vegasco-Web/package.json +++ b/src/Vegasco-Web/package.json @@ -4,8 +4,8 @@ "scripts": { "ng": "ng", "start": "run-script-os", - "start:win32": "ng serve --port %PORT%", - "start:default": "ng serve --port $PORT", + "start:win32": "ng serve --port %PORT% --configuration development", + "start:default": "ng serve --port $PORT --configuration development", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test"