Complete the non-docker debug builds
This commit is contained in:
@@ -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