1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

Fix error and update version

This commit is contained in:
carbotaniuman 2021-01-09 10:58:22 -06:00
parent decb448078
commit 6ddd8fb23b
3 changed files with 5 additions and 3 deletions

View file

@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security
## [1.2.3] - 2021-01-09
### Fixed
- [2021-01-08] Better exception handling [@carbotaniuman].
## [1.2.3] - 2021-01-08
### Fixed
- [2021-01-08] Fix a bunch of stupid edge cases [@carbotaniuman].

View file

@ -21,7 +21,7 @@ package mdnet.base
import java.time.Duration
object Constants {
const val CLIENT_BUILD = 19
const val CLIENT_BUILD = 20
@JvmField val MAX_AGE_CACHE: Duration = Duration.ofDays(14)

View file

@ -59,7 +59,6 @@ import org.apache.http.impl.client.HttpClients
import org.http4k.client.Apache4Client
import org.http4k.core.*
import org.http4k.filter.CachingFilters
import org.http4k.filter.ServerFilters
import org.http4k.lens.LensFailure
import org.http4k.lens.Path
import org.http4k.routing.bind
@ -374,7 +373,6 @@ fun getServer(cache: DiskLruCache, database: Database, remoteSettings: RemoteSet
.then(timeRequest())
.then(setHandled(isHandled))
.then(catchAllHideDetails())
.then(ServerFilters.CatchLensFailure)
.then(
routes(
"/data/{chapterHash}/{fileName}" bind Method.GET to imageServer.handler(dataSaver = false),