From 294f71fb3c5ca3f0fee62e70c9c6a3427a9afc12 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 7 Jun 2025 13:09:24 +0200 Subject: Add features to upload and delete thumbnails --- src/chef/core.clj | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/chef/core.clj') diff --git a/src/chef/core.clj b/src/chef/core.clj index f3422d5..cfe72f9 100644 --- a/src/chef/core.clj +++ b/src/chef/core.clj @@ -2,9 +2,12 @@ (:require [org.httpkit.server :as http-server] [chef.routes :as croutes] [chef.database :as cdb]) + (:import java.io.File) (:gen-class)) (defn -main [& args] + (println "Creating thumbnails folder...") + (.mkdirs (File. "./thumbnails/")) (println "Running db patches...") (cdb/run-patches!) (println "Starting http server...") -- cgit v1.2.3