From a5f26def08e100bf74e90d09298ad81e9224e249 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 21 Apr 2019 18:34:48 +0200 Subject: Added download button Co-authored-by: LarsVomMars --- src/main/kotlin/App.kt | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/main/kotlin/App.kt') diff --git a/src/main/kotlin/App.kt b/src/main/kotlin/App.kt index ebdb560..8fb289c 100644 --- a/src/main/kotlin/App.kt +++ b/src/main/kotlin/App.kt @@ -45,7 +45,6 @@ fun main() { /** * Main page - * TODO: Create landing page */ get( "/", @@ -97,13 +96,11 @@ fun main() { /** * Renders the file list view - * TODO: Fix possible security issue with "../" */ get("/files/*", fileController::crawl, roles(Roles.USER)) /** * Receives and saves multipart media data - * TODO: Fix possible security issue with "../" */ post("/upload/*", fileController::upload, roles(Roles.USER)) -- cgit v1.2.3