diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/tubo/http.clj | 4 | ||||
-rw-r--r-- | src/backend/tubo/routes.clj (renamed from src/backend/tubo/router.clj) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tubo/http.clj b/src/backend/tubo/http.clj index 9e1359f..2620874 100644 --- a/src/backend/tubo/http.clj +++ b/src/backend/tubo/http.clj @@ -1,7 +1,7 @@ (ns tubo.http (:require [org.httpkit.server :refer [run-server]] - [tubo.router :as router]) + [tubo.routes :as routes]) (:import tubo.DownloaderImpl org.schabi.newpipe.extractor.NewPipe @@ -14,7 +14,7 @@ (start-server! 3000)) ([port] (NewPipe/init (DownloaderImpl/init) (Localization. "en" "GB")) - (reset! server (run-server #'router/app {:port port})) + (reset! server (run-server #'routes/app {:port port})) (println "Server running in port" port))) (defn stop-server! diff --git a/src/backend/tubo/router.clj b/src/backend/tubo/routes.clj index 73e75ee..d42b432 100644 --- a/src/backend/tubo/router.clj +++ b/src/backend/tubo/routes.clj @@ -1,4 +1,4 @@ -(ns tubo.router +(ns tubo.routes (:require [malli.experimental.lite :as l] [reitit.ring :as ring] |