Allows local network to access running instance

This commit is contained in:
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.UseHsts();
} }
app.UseHttpsRedirection(); // app.UseHttpsRedirection();
app.UseStaticFiles(); app.UseStaticFiles();
app.UseRouting(); app.UseRouting();

View file

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