Use default files
This commit is contained in:
parent
13de8d8b87
commit
4916540200
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ if (Environment.GetEnvironmentVariable("API_TOKEN") is null)
|
|||
throw new InvalidOperationException("API_TOKEN is not set");
|
||||
|
||||
app.UseStatusCodePages();
|
||||
app.UseDefaultFiles();
|
||||
app.UseStaticFiles(new StaticFileOptions {
|
||||
ServeUnknownFileTypes = true,
|
||||
DefaultContentType = "text/plain"
|
||||
|
|
Loading…
Reference in a new issue