Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
tipsy committed Apr 24, 2022
1 parent 7aff279 commit b08138b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -20,7 +20,7 @@
<dependency>
<groupId>io.javalin</groupId>
<artifactId>javalin</artifactId>
<version>4.5.0.RC0</version>
<version>4.5.0</version>
</dependency>
<dependency>
<groupId>com.nixxcode.jvmbrotli</groupId>
Expand Down
4 changes: 4 additions & 0 deletions src/main/kotlin/app/Main.kt
Expand Up @@ -9,6 +9,7 @@ import io.javalin.http.staticfiles.Location
import io.javalin.http.util.NaiveRateLimit
import io.javalin.plugin.rendering.vue.JavalinVue
import io.javalin.plugin.rendering.vue.VueComponent
import org.eclipse.jetty.server.HttpConnectionFactory
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.server.ServerConnector
import org.eclipse.jetty.util.thread.QueuedThreadPool
Expand All @@ -29,6 +30,9 @@ fun main() {
connectors = arrayOf(ServerConnector(server).apply {
port = Config.getPort() ?: 7070
idleTimeout = 120_000
connectionFactories.filterIsInstance<HttpConnectionFactory>().forEach {
it.httpConfiguration.sendServerVersion = false
}
})
}
}
Expand Down

0 comments on commit b08138b

Please sign in to comment.