diff --git a/Program.cs b/Program.cs index 202f3e0..f6d2881 100644 --- a/Program.cs +++ b/Program.cs @@ -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"