Skip to content

Commit

Permalink
re-enable request decompression after ziplet update. Closes #458
Browse files Browse the repository at this point in the history
  • Loading branch information
F43nd1r committed Oct 8, 2023
1 parent 33677da commit 10aa0f5
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright 2020-2022 Lukas Morawietz (https://github.com/F43nd1r)
* (C) Copyright 2020-2023 Lukas Morawietz (https://github.com/F43nd1r)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -15,11 +15,16 @@
*/
package com.faendir.acra.rest

import com.github.ziplet.filter.compression.CompressingFilter
import jakarta.servlet.Filter
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.core.Ordered
import org.springframework.core.annotation.Order

@Configuration
class RestConfiguration {/*
class RestConfiguration {
@Bean
@Order(Ordered.HIGHEST_PRECEDENCE)
fun gzipFilter(): Filter = CompressingFilter() // TODO migrate to jakarta*/
fun gzipFilter(): Filter = CompressingFilter()
}

0 comments on commit 10aa0f5

Please sign in to comment.