diff --git a/sail/lib/schooner.hoon b/sail/lib/schooner.hoon index 88cc1d9..1e5de49 100644 --- a/sail/lib/schooner.hoon +++ b/sail/lib/schooner.hoon @@ -39,7 +39,7 @@ :- :- http-status %+ weld headers ['content-type'^'application/json']~ - `(as-octt:mimes:html (en-json:html j.resource)) + `(as-octt:mimes:html (trip (en:json:html j.resource))) :: %login-redirect =+ %^ cat 3 diff --git a/sail/lib/server.hoon b/sail/lib/server.hoon index 431b5db..3f889cd 100644 --- a/sail/lib/server.hoon +++ b/sail/lib/server.hoon @@ -19,7 +19,7 @@ ++ json-to-octs |= jon=json ^- octs - (as-octt:mimes:html (en-json:html jon)) + (as-octt:mimes:html (trip (en:json:html jon))) :: ++ app |% diff --git a/sail/sys.kelvin b/sail/sys.kelvin index b546e22..1ec239e 100644 --- a/sail/sys.kelvin +++ b/sail/sys.kelvin @@ -1,3 +1 @@ -[%zuse 417] -[%zuse 416] -[%zuse 415] \ No newline at end of file +[%zuse 410] diff --git a/vue/lib/schooner.hoon b/vue/lib/schooner.hoon index 88cc1d9..1e5de49 100644 --- a/vue/lib/schooner.hoon +++ b/vue/lib/schooner.hoon @@ -39,7 +39,7 @@ :- :- http-status %+ weld headers ['content-type'^'application/json']~ - `(as-octt:mimes:html (en-json:html j.resource)) + `(as-octt:mimes:html (trip (en:json:html j.resource))) :: %login-redirect =+ %^ cat 3 diff --git a/vue/lib/server.hoon b/vue/lib/server.hoon index 431b5db..4d99d93 100644 --- a/vue/lib/server.hoon +++ b/vue/lib/server.hoon @@ -19,7 +19,7 @@ ++ json-to-octs |= jon=json ^- octs - (as-octt:mimes:html (en-json:html jon)) + (as-octt:mimes:html (trip (en-json:html jon))) :: ++ app |% diff --git a/vue/sys.kelvin b/vue/sys.kelvin index b546e22..87ac69c 100644 --- a/vue/sys.kelvin +++ b/vue/sys.kelvin @@ -1,3 +1 @@ -[%zuse 417] -[%zuse 416] -[%zuse 415] \ No newline at end of file +[%zuse 412] \ No newline at end of file