Allows local network to access running instance

dashboard
Pat Hartl 2023-01-24 18:23:32 -06:00
parent 3c70682fb0
commit e4c60c2324
2 changed files with 11 additions and 1 deletions

View File

@ -84,7 +84,7 @@ else
app.UseHsts();
}
app.UseHttpsRedirection();
// app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseRouting();

View File

@ -8,6 +8,16 @@
"Microsoft.AspNetCore": "Warning"
}
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://0.0.0.0:5000"
},
"Https": {
"Url": "https://0.0.0.0:5001"
}
}
},
"AllowedHosts": "*",
"JWT": {
"ValidAudience": "",