Skip to content

Commit ff0f966

Browse files
committed
section1 video4
1 parent 62457ef commit ff0f966

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

project.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:plugins [[lein-ring "0.8.7"]]
77
:ring {:handler project1.core/example-handler
88
:init project1.core/on-init
9+
:port 4001
910
:destroy project1.core/on-destroy}
1011
:dependencies [[org.clojure/clojure "1.5.1"]
1112
[ring "1.2.0"]])

src/project1/core.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(ns project1.core)
22

33
(defn example-handler [request]
4-
{:body "Hello Clojure!"}
4+
{:body "Hello Clojure reload!"}
55
)
66

77
(defn on-init []

0 commit comments

Comments
 (0)