mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 21:19:47 +00:00
Fixed formatting
This commit is contained in:
parent
a19c1a0b7e
commit
13943d2fa3
@ -158,14 +158,12 @@ internal sealed class Program
|
|||||||
app.UseStaticFiles();
|
app.UseStaticFiles();
|
||||||
app.UseDeveloperExceptionPage();
|
app.UseDeveloperExceptionPage();
|
||||||
#else
|
#else
|
||||||
|
var fileProvider = new ManifestEmbeddedFileProvider(Assembly.GetAssembly(type: typeof(Program))!, "wwwroot");
|
||||||
var fileProvider = new ManifestEmbeddedFileProvider(Assembly.GetAssembly(type: typeof(Program))!, "wwwroot");
|
app.UseStaticFiles(new StaticFileOptions
|
||||||
app.UseStaticFiles(new StaticFileOptions
|
{
|
||||||
{
|
FileProvider = fileProvider,
|
||||||
FileProvider = fileProvider,
|
RequestPath = string.Empty,
|
||||||
RequestPath = string.Empty,
|
});
|
||||||
});
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
app.UseAntiforgery();
|
app.UseAntiforgery();
|
||||||
|
Loading…
Reference in New Issue
Block a user