Fixed bug when serving data from jar file
This commit is contained in:
parent
0e943b0e18
commit
559167bd5b
2 changed files with 18 additions and 2 deletions
|
|
@ -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`."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue