Fork me on GitHub
#heroku
<
2017-09-06
>
leontalbot20:09:52

I got path error when I read file in production on Heroku

leontalbot20:09:13

I use http://clojure.java.io/file but the path seems correct only locally.

leontalbot20:09:30

Any ideas what to do to make it work on heroku?

leontalbot20:09:07

Thanks for your help!

bostonaholic23:09:17

@leontalbot use and have the file in ./resources

bostonaholic23:09:57

e.g. ( "foo.txt") will give you the file that lives in ./resources/foo.txt