GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

Commit 57869368 authored by Ben Frank's avatar Ben Frank
Browse files

Fix warnings

parent 27ac1a03
Pipeline #315448936 passed with stages
in 18 minutes and 22 seconds
......@@ -39,7 +39,6 @@ class CLI : CliktCommand(name = "texdoc-online") {
/**
* The application's entry point starting the web server.
*/
@KtorExperimentalAPI
fun main(args: Array<String>) = CLI()
.versionOption(CLI::class.java.`package`.implementationVersion ?: "DEVELOPMENT")
.main(args)
......@@ -24,7 +24,6 @@ import java.text.SimpleDateFormat
/**
* The webserver's main entry point and routing table.
*/
@KtorExperimentalAPI
@Suppress("LongMethod")
fun Application.module() {
install(DefaultHeaders)
......
......@@ -16,7 +16,6 @@ import java.io.File
* This uses internal commands from the `StaticContent.kt` file and may not be the
* most stable option.
*/
@KtorExperimentalAPI
fun Route.filesWithResourceFallback(folder: File, resourcePackage: String) {
val pathParameterName = "static-content-path-parameter"
val dir = when (staticRootFolder) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment