Fixed bug when serving data from jar file

This commit is contained in:
Simon Brooke 2020-01-29 20:43:01 +00:00
parent 0e943b0e18
commit 559167bd5b
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
2 changed files with 18 additions and 2 deletions

View file

@ -72,7 +72,7 @@
"Return JSON formatted data taken from the CSV file with the name `filename`
in the directory `resources/public/data`."
[filename]
(-> (str "public/data/" filename) io/resource io/file io/reader csv->json))
(-> (str "public/data/" filename) io/resource io/reader csv->json))
(defn get-data
"Return JSON formatted data from the source implied by this `request`."