Complete the non-docker debug builds

This commit is contained in:
2025-06-17 21:09:52 -07:00
parent 6336e39658
commit 52b6426883
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -6,9 +6,9 @@
"type": "coreclr", "type": "coreclr",
"request": "launch", "request": "launch",
"preLaunchTask": "build-all", "preLaunchTask": "build-all",
"program": "${workspaceFolder}/debug/MistoxWebsite.Server.dll", "program": "MistoxWebsite.Server.dll",
"args": [], "args": [],
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}/debug/",
"stopAtEntry": false, "stopAtEntry": false,
"serverReadyAction": { "serverReadyAction": {
"action": "openExternally", "action": "openExternally",
+2 -2
View File
@@ -18,7 +18,7 @@
"command": "ng", "command": "ng",
"type": "process", "type": "process",
"options": { "options": {
"cwd": "${workspaceFolder}/debug/wwwroot" "cwd": "${workspaceFolder}/src/MistoxWebsite.Client"
}, },
"args": [ "args": [
"build" "build"
@@ -27,7 +27,7 @@
}, },
{ {
"label": "build-all", "label": "build-all",
"dependsOn": ["server-build", "client-build" ], "dependsOn": ["client-build", "server-build" ],
"dependsOrder": "sequence" "dependsOrder": "sequence"
} }
] ]
+1 -1
View File
@@ -28,7 +28,7 @@
"aot": true, "aot": true,
"outputMode": "static", "outputMode": "static",
"outputPath": { "outputPath": {
"base": "../MistoxWebsite.Server/wwwroot", "base": "../../debug/wwwroot",
"browser": "" "browser": ""
}, },
"deleteOutputPath": false "deleteOutputPath": false
+4 -4
View File
@@ -63,17 +63,17 @@ builder.Services.AddRazorPages();
var app = builder.Build(); var app = builder.Build();
// Configure the HTTP request pipeline. // Configure the HTTP request pipeline.
if( app.Environment.IsDevelopment() ) { if( !app.Environment.IsDevelopment() ) {
app.UseWebAssemblyDebugging();
} else {
app.UseHsts(); app.UseHsts();
} }
app.UseBlazorFrameworkFiles(); app.UseDefaultFiles();
app.UseStaticFiles(); app.UseStaticFiles();
app.UseCors(); app.UseCors();
app.UseRouting();
app.UseAuthentication(); app.UseAuthentication();
app.MapControllers(); app.MapControllers();