Dockerisation.
This commit is contained in:
parent
4861ee809b
commit
c18b74fef6
3 changed files with 11 additions and 5 deletions
|
|
@ -3,6 +3,7 @@
|
|||
mw-ui.routes.save
|
||||
(:require [clojure.pprint :as pretty :only [pprint]]
|
||||
[noir.session :as session]
|
||||
[noir.response :as response]))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;;;
|
||||
|
|
@ -33,8 +34,7 @@
|
|||
an attempt to prevent the browser trying to do anything clever with it.
|
||||
Note that it is saved as a raw Clojure data structure, not as XML or
|
||||
any proprietary format."
|
||||
(response/header
|
||||
(response/response
|
||||
(with-out-str (pretty/pprint (session/get :world))))
|
||||
"Content-Type" "application/journeyman-mwm; charset=utf-8"))
|
||||
(response/content-type
|
||||
"application/journeyman-mwm; charset=utf-8"
|
||||
(with-out-str (pretty/pprint (session/get :world)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue