[chore] change project paths
This commit is contained in:
parent
8fcd2cd698
commit
5c1eaf0885
3 changed files with 12 additions and 1 deletions
|
@ -1 +0,0 @@
|
||||||
(ns backend.core)
|
|
12
src/main/backend/core.clj
Normal file
12
src/main/backend/core.clj
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
(ns backend.core
|
||||||
|
(:use ring.adapter.jetty))
|
||||||
|
|
||||||
|
(defn handler [request]
|
||||||
|
{:status 200
|
||||||
|
:headers {"Content-Type" "text/plain"}
|
||||||
|
:body "Hello World"})
|
||||||
|
|
||||||
|
(defn -main
|
||||||
|
[& args]
|
||||||
|
(run-jetty handler {:port 3000
|
||||||
|
:join? false}))
|
Loading…
Reference in a new issue