mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Fixed text compression not working
This commit is contained in:
@@ -94,6 +94,7 @@ if (app.Environment.IsDevelopment())
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
|
||||
app.UseResponseCompression();
|
||||
app.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
OnPrepareResponse = ctx =>
|
||||
@@ -121,7 +122,6 @@ app.UseStaticFiles(new StaticFileOptions
|
||||
app.UseRouting();
|
||||
app.UseAuthorization();
|
||||
app.UseResponseCaching();
|
||||
app.UseResponseCompression();
|
||||
|
||||
string[] supportedCultures = ["de", "en"];
|
||||
var localizationOptions = new RequestLocalizationOptions()
|
||||
|
||||
Reference in New Issue
Block a user