Complete the non-docker debug builds
This commit is contained in:
Vendored
+2
-2
@@ -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",
|
||||||
|
|||||||
Vendored
+2
-2
@@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user