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:
parent
decb448078
commit
6ddd8fb23b
|
@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
## [1.2.3] - 2021-01-09
|
||||||
|
### Fixed
|
||||||
|
- [2021-01-08] Better exception handling [@carbotaniuman].
|
||||||
|
|
||||||
## [1.2.3] - 2021-01-08
|
## [1.2.3] - 2021-01-08
|
||||||
### Fixed
|
### Fixed
|
||||||
- [2021-01-08] Fix a bunch of stupid edge cases [@carbotaniuman].
|
- [2021-01-08] Fix a bunch of stupid edge cases [@carbotaniuman].
|
||||||
|
|
|
@ -21,7 +21,7 @@ package mdnet.base
|
||||||
import java.time.Duration
|
import java.time.Duration
|
||||||
|
|
||||||
object Constants {
|
object Constants {
|
||||||
const val CLIENT_BUILD = 19
|
const val CLIENT_BUILD = 20
|
||||||
|
|
||||||
@JvmField val MAX_AGE_CACHE: Duration = Duration.ofDays(14)
|
@JvmField val MAX_AGE_CACHE: Duration = Duration.ofDays(14)
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,6 @@ import org.apache.http.impl.client.HttpClients
|
||||||
import org.http4k.client.Apache4Client
|
import org.http4k.client.Apache4Client
|
||||||
import org.http4k.core.*
|
import org.http4k.core.*
|
||||||
import org.http4k.filter.CachingFilters
|
import org.http4k.filter.CachingFilters
|
||||||
import org.http4k.filter.ServerFilters
|
|
||||||
import org.http4k.lens.LensFailure
|
import org.http4k.lens.LensFailure
|
||||||
import org.http4k.lens.Path
|
import org.http4k.lens.Path
|
||||||
import org.http4k.routing.bind
|
import org.http4k.routing.bind
|
||||||
|
@ -374,7 +373,6 @@ fun getServer(cache: DiskLruCache, database: Database, remoteSettings: RemoteSet
|
||||||
.then(timeRequest())
|
.then(timeRequest())
|
||||||
.then(setHandled(isHandled))
|
.then(setHandled(isHandled))
|
||||||
.then(catchAllHideDetails())
|
.then(catchAllHideDetails())
|
||||||
.then(ServerFilters.CatchLensFailure)
|
|
||||||
.then(
|
.then(
|
||||||
routes(
|
routes(
|
||||||
"/data/{chapterHash}/{fileName}" bind Method.GET to imageServer.handler(dataSaver = false),
|
"/data/{chapterHash}/{fileName}" bind Method.GET to imageServer.handler(dataSaver = false),
|
||||||
|
|
Loading…
Reference in a new issue