use https redirection
This commit is contained in:
parent
7ed5c8d64e
commit
ae5eba7fde
@ -13,6 +13,7 @@ var app = builder.Build();
|
||||
if (!app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseExceptionHandler("/Home/Error");
|
||||
app.UseHttpsRedirection();
|
||||
}
|
||||
app.UseStaticFiles();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user