shadow-cljs

https://github.com/thheller/shadow-cljs | https://github.com/sponsors/thheller | https://www.patreon.com/thheller
Mr. Savy 2020-09-12T04:25:55.279300Z

I will check this tomorrow and update the channel if I it still happens and/or I fix or whateves

Mr. Savy 2020-09-12T19:26:23.280800Z

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!

👍 1
worlds-endless 2020-09-12T20:20:33.282900Z

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?

thheller 2020-09-12T20:26:17.283400Z

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

worlds-endless 2020-09-12T20:30:11.283500Z

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

worlds-endless 2020-09-12T20:59:26.285400Z

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?