From 854ec336cc6a0a3bb60f33acfac28ed45b491a15 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 14 Oct 2024 00:07:21 +0200 Subject: Add /firm exporthotm to save hotm presets --- src/main/kotlin/Firmament.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/kotlin/Firmament.kt') diff --git a/src/main/kotlin/Firmament.kt b/src/main/kotlin/Firmament.kt index 343ec40..d8a309b 100644 --- a/src/main/kotlin/Firmament.kt +++ b/src/main/kotlin/Firmament.kt @@ -65,6 +65,10 @@ object Firmament { ignoreUnknownKeys = true encodeDefaults = true } + val tightJson = Json(from = json) { + prettyPrint = false + } + val httpClient by lazy { HttpClient { -- cgit