Complete the non-docker debug builds
This commit is contained in:
Vendored
+2
-2
@@ -6,9 +6,9 @@
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build-all",
|
||||
"program": "${workspaceFolder}/debug/MistoxWebsite.Server.dll",
|
||||
"program": "MistoxWebsite.Server.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"cwd": "${workspaceFolder}/debug/",
|
||||
"stopAtEntry": false,
|
||||
"serverReadyAction": {
|
||||
"action": "openExternally",
|
||||
|
||||
Vendored
+2
-2
@@ -18,7 +18,7 @@
|
||||
"command": "ng",
|
||||
"type": "process",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/debug/wwwroot"
|
||||
"cwd": "${workspaceFolder}/src/MistoxWebsite.Client"
|
||||
},
|
||||
"args": [
|
||||
"build"
|
||||
@@ -27,7 +27,7 @@
|
||||
},
|
||||
{
|
||||
"label": "build-all",
|
||||
"dependsOn": ["server-build", "client-build" ],
|
||||
"dependsOn": ["client-build", "server-build" ],
|
||||
"dependsOrder": "sequence"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"aot": true,
|
||||
"outputMode": "static",
|
||||
"outputPath": {
|
||||
"base": "../MistoxWebsite.Server/wwwroot",
|
||||
"base": "../../debug/wwwroot",
|
||||
"browser": ""
|
||||
},
|
||||
"deleteOutputPath": false
|
||||
|
||||
@@ -63,17 +63,17 @@ builder.Services.AddRazorPages();
|
||||
var app = builder.Build();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if( app.Environment.IsDevelopment() ) {
|
||||
app.UseWebAssemblyDebugging();
|
||||
} else {
|
||||
if( !app.Environment.IsDevelopment() ) {
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
app.UseBlazorFrameworkFiles();
|
||||
app.UseDefaultFiles();
|
||||
app.UseStaticFiles();
|
||||
|
||||
app.UseCors();
|
||||
|
||||
app.UseRouting();
|
||||
|
||||
app.UseAuthentication();
|
||||
app.MapControllers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user