aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/App.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/App.kt')
-rw-r--r--src/main/kotlin/App.kt4
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)