diff options
author | Marvin Borner | 2019-04-19 22:07:22 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-19 22:07:22 +0200 |
commit | 5523bd7a5e30b09baa6bb3ccd23252d0ebef6000 (patch) | |
tree | 9e0ec38ac5f0ac3dc208eb2be0bc0eef24d5a5e0 /src/main/kotlin/App.kt | |
parent | fe97c12731193211caf8652a6fd40e02d0d429b4 (diff) |
Fixed recursive upload function
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/kotlin/App.kt')
-rw-r--r-- | src/main/kotlin/App.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/kotlin/App.kt b/src/main/kotlin/App.kt index f081bea..d3f0cd9 100644 --- a/src/main/kotlin/App.kt +++ b/src/main/kotlin/App.kt @@ -17,11 +17,9 @@ const val fileHome = "files" val databaseController = DatabaseController() val userHandler = UserHandler() val fileController = FileController() -val log = Logger.getLogger("App.kt") +private val log = Logger.getLogger("App.kt") fun main() { - log.warning(File(".").absolutePath) - val app = Javalin.create().apply { enableStaticFiles("${File(".").absolutePath}/src/main/resources/", Location.EXTERNAL) port(7000) |