From afe83a240ba1d02b2c4b6d6d5402bb8e06cb5415 Mon Sep 17 00:00:00 2001 From: Amos Ng Date: Tue, 16 Jun 2020 05:53:57 +0800 Subject: [PATCH] Fixed tokenized data-saver parser not working --- CHANGELOG.md | 1 + src/main/kotlin/mdnet/base/server/Application.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1a6e92..d6229c0 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed ### Fixed +- [2020-06-15] Fixed tokenized data-saver parser not working by [@lflare]. ## [1.0.0-RC16] - 2020-06-14 ### Added diff --git a/src/main/kotlin/mdnet/base/server/Application.kt b/src/main/kotlin/mdnet/base/server/Application.kt index 196944e..1027343 100644 --- a/src/main/kotlin/mdnet/base/server/Application.kt +++ b/src/main/kotlin/mdnet/base/server/Application.kt @@ -31,7 +31,7 @@ fun getServer(cache: DiskLruCache, serverSettings: ServerSettings, clientSetting tokenized = true ), "/{token}/data-saver/{chapterHash}/{fileName}" bind Method.GET to imageServer.handler( - dataSaver = false, + dataSaver = true, tokenized = true ) )