mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-05-28 23:41:31 +00:00
changed json test
This commit is contained in:
parent
d567887ee6
commit
61a3eed9d6
|
@ -11,7 +11,7 @@
|
|||
(GET "/" [] "Hello World, Welcome to Robotwar.")
|
||||
(GET "/json-test" [] (response/response {:foo 6 :bar 8}))
|
||||
(GET "/programs" [] (response/response test-programs/programs))
|
||||
(GET "/simulations" [] (response/response (take 1 (core/sim-worlds))))
|
||||
(GET "/simulations" [] (response/response (take 5000 (core/sim-worlds 25))))
|
||||
(route/resources "/")
|
||||
(route/not-found "Not Found"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user