Allow for the web app to be run separately to allow debugging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-15 12:49:31 +02:00
parent 9fb0f584a6
commit 28148e4f69
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
"type": "chrome", "type": "chrome",
"request": "launch", "request": "launch",
"preLaunchTask": "npm: start", "preLaunchTask": "npm: start",
"url": "http://localhost:4200/" "url": "http://localhost:44200/",
}, },
{ {
"name": "ng test", "name": "ng test",

View File

@@ -7,7 +7,7 @@
"script": "start", "script": "start",
"options": { "options": {
"env": { "env": {
"PORT": "4200", "PORT": "44200",
"services__Vegasco-Server-Api__https__0": "https://localhost:7098", "services__Vegasco-Server-Api__https__0": "https://localhost:7098",
"NODE_ENV": "development" "NODE_ENV": "development"
} }

View File

@@ -16,7 +16,7 @@ builder
.AddNpmApp("Vegasco-Web", "../Vegasco-Web") .AddNpmApp("Vegasco-Web", "../Vegasco-Web")
.WithReference(api) .WithReference(api)
.WaitFor(api) .WaitFor(api)
.WithHttpEndpoint(port: 44200, env: "PORT") .WithHttpEndpoint(port: 44200, env: "PORT", isProxied: false)
.WithExternalHttpEndpoints(); .WithExternalHttpEndpoints();
builder.Build().Run(); builder.Build().Run();