mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-10 05:48:39 +00:00
Only allow a single approved IP address
This commit is contained in:
parent
f169236613
commit
eb21c7042f
16 changed files with 124 additions and 141 deletions
|
@ -58,7 +58,10 @@ public class WebsiteStartup
|
|||
|
||||
app.UseRouting();
|
||||
|
||||
app.UseStaticFiles();
|
||||
app.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
ServeUnknownFileTypes = true,
|
||||
});
|
||||
|
||||
app.UseEndpoints(endpoints => endpoints.MapControllers());
|
||||
app.UseEndpoints(endpoints => endpoints.MapRazorPages());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue