diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-08-27 22:12:08 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-08-27 22:12:08 +0200 |
commit | b74dfb2ba8bd8991510b6aba3de3ac47e9374bf6 (patch) | |
tree | 42c8338c506e8da6ada190c436d4b315b160f4d5 /src/backend | |
parent | 5988bd95ffa63fa6317cae8d974d1c051a053084 (diff) |
feat(backend): Rename routing namespace
Diffstat (limited to 'src/backend')
-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] |