From cf1bce6694bdb85ba5b3f5141c9fd48a924f2360 Mon Sep 17 00:00:00 2001 From: Varun Sethu Date: Sun, 14 May 2017 18:49:18 +1000 Subject: [PATCH] just a quick fix --- src/clj/cljweb/routes.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/cljweb/routes.clj b/src/clj/cljweb/routes.clj index a5323c7..2c8be53 100644 --- a/src/clj/cljweb/routes.clj +++ b/src/clj/cljweb/routes.clj @@ -16,7 +16,7 @@ io/resource io/input-stream response - (assoc :headers {"Content-Type" "text/html; charset=utf-8"}))) + (assoc :headers {"Content-Type" "text/json; charset=utf-8"}))) (GET "/random" [] (let [random-int (rand-int 2830)] (read-nth-line "resources/public/questions.txt" random-int)))