Closed joeyh closed 7 years ago
I had to use setWorkingDirectory to the directory that contains the "static" directory to work around this.
Weird, at first I could reproduce this, but now I can't. Absolute paths seem to work fine for me, e.g.
jsStatic = Just "/usr/share/doc/cups"
and visiting, say
http://localhost:8023/static/robots.txt
Sorry, I can't reproduce this. Are you sure that the spelling of the path was correct?
Please feel free to reopen if the issue persists!
Setting jsStatic to an absolute path of Just "/usr/local/propellor/static", threepenny displayed exceptions like:
I double-checked with strace, and and saw that indeed it's trying to open "static/egg.svg", rather than using the specified jsStatic directory.
threepenny-gui-0.8.0.0