I have a trouble with the import of my CSS - which is made through the html link tag.
It works well when the url has got a single slash - like http://url/page. it correctly look for the css at http://url/styles/main.css
but when the URL comports two slashes like http://url/page/1 then the css is looked at: http://url/page/styles/main.css and so is not found cause path is incorrect.
I am using clojurescript react-js wrapper called re-frame.
How to tell the soft to always look at http://url/styles/main.css whatever the URL.
What happened?
I have a trouble with the import of my CSS - which is made through the html link tag.
It works well when the url has got a single slash - like
http://url/page
. it correctly look for the css athttp://url/styles/main.css
but when the URL comports two slashes like
http://url/page/1
then the css is looked at:http://url/page/styles/main.css
and so is not found cause path is incorrect.I am using clojurescript react-js wrapper called re-frame.
How to tell the soft to always look at
http://url/styles/main.css
whatever the URL.Version
1.2.0
What runtimes are you seeing the problem on?
Mozilla Firefox
Relevant console output
No response