From b63013ab49c6dcaa28c1a042c375d21c52348464 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 18 May 2024 22:40:48 +0200 Subject: [PATCH] Fixed dev. exception page --- app/MindWork AI Studio/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/Program.cs b/app/MindWork AI Studio/Program.cs index 5ef2af9..a64921c 100644 --- a/app/MindWork AI Studio/Program.cs +++ b/app/MindWork AI Studio/Program.cs @@ -48,10 +48,10 @@ app.Use(Redirect.HandlerContentAsync); #if DEBUG app.UseStaticFiles(); +app.UseDeveloperExceptionPage(); #else var fileProvider = new ManifestEmbeddedFileProvider(Assembly.GetAssembly(type: typeof(Program))!, "wwwroot"); -app.UseDeveloperExceptionPage(); app.UseStaticFiles(new StaticFileOptions { FileProvider = fileProvider,