chore: run debug on non-https localhost

This commit is contained in:
surtur 2020-11-21 13:59:20 +01:00
parent d7d0c7c2ec
commit 22bf829361
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,7 @@
"pwt_0x01_ng": {
"commandName": "Project",
"launchBrowser": false,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"applicationUrl": "http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

View File

@ -48,10 +48,8 @@ namespace pwt_0x01_ng
else
{
app.UseExceptionHandler("/Home/Error");
app.UseHsts();
}
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseCookiePolicy();