Minor tidy up; still not working as I would like.

This commit is contained in:
Simon Brooke 2019-02-17 19:38:57 +00:00
parent 5a572b10af
commit 7d54c2d7a5
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
(ns ireadit.routes.home
(:require [ireadit.layout :as layout]
[ireadit.views.form :refer :all]
[compojure.core :refer [defroutes GET]]
[ring.util.http-response :as response]
[clojure.java.io :as io]))

View file

@ -10,8 +10,8 @@
{:swagger {:ui "/swagger-ui"
:spec "/swagger.json"
:data {:info {:version "1.0.0"
:title "Sample API"
:description "Sample Services"}}}}
:title "I Read It API"
:description "Meme transcription services"}}}}
(context "/api" []
:tags ["tesseractor"]

View file

@ -43,7 +43,7 @@
{:http-xhrio {:method :post
:uri uri
:format (ajax/json-request-format)
:response-format (ajax/json-response-format {:keywords? true})
:response-format (ajax/json-response-format)
:on-success [:set-transcription]
:on-failure [:bad-transcription]}})))