Fork me on GitHub
#shadow-cljs
<
2020-09-12
>
Mr. Savy19:09:23

just as an update, I tried restart and it fixed everything before I had a chance to try those two other suggestions. I think maybe I had a second instance still running that I never actually closed maybe? I'm not sure. Either way thanks!

👍 3
worlds-endless20:09:33

I'm trying to use Shadow.cljs on an Apache server WITHOUT url fragments (the index.html in every directory is identical for now). However, my js map seems to have issues because it looks up my resources relative to each file. Can anyone tell me how it shoudl be set up in this scenario?

thheller20:09:17

use an absolute :asset-path "/js" not a relative :asset-path "js"

worlds-endless20:09:11

Ah -- the :asset-path : perfect. Thanks!

worlds-endless20:09:26

Related problem: I created /portfolio/index.html and now it works if I browse to localhost/portfolio/ ; however, I need it to work without the slash at localhost/porfolio . Suggestions?