summaryrefslogtreecommitdiff
path: root/sw-server/src/main
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2021-02-08 20:50:51 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2021-02-08 20:50:51 +0100
commitd95cdf19d248f012f582ecc13a6b821c24e62a78 (patch)
treed4862d1aaa202452e577ee4c99493cb4dd702e9f /sw-server/src/main
parentRemove unnecessary image input in AssignedWonder (diff)
downloadseven-wonders-d95cdf19d248f012f582ecc13a6b821c24e62a78.tar.gz
seven-wonders-d95cdf19d248f012f582ecc13a6b821c24e62a78.tar.bz2
seven-wonders-d95cdf19d248f012f582ecc13a6b821c24e62a78.zip
Revert "Add Kotlinx Serialization converter for HTTP traffic"
This reverts commit 4f315bd4
Diffstat (limited to 'sw-server/src/main')
-rw-r--r--sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebMvcConfig.kt15
1 files changed, 0 insertions, 15 deletions
diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebMvcConfig.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebMvcConfig.kt
deleted file mode 100644
index a30d9fa4..00000000
--- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebMvcConfig.kt
+++ /dev/null
@@ -1,15 +0,0 @@
-package org.luxons.sevenwonders.server.config
-
-import org.springframework.context.annotation.Configuration
-import org.springframework.http.converter.HttpMessageConverter
-import org.springframework.http.converter.json.KotlinSerializationJsonHttpMessageConverter
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
-@Configuration
-class WebMvcConfig : WebMvcConfigurationSupport() {
-
- override fun configureMessageConverters(converters: MutableList<HttpMessageConverter<*>?>) {
- converters.add(KotlinSerializationJsonHttpMessageConverter())
- addDefaultHttpMessageConverters(converters)
- }
-}
bgstack15