I am running a project where all the relative links work fine when I launch an index.html file from app/index.html. The URL is like: http://localhost:63342/projectName/app/index.html
structure:
projectName/
app/
rel/
however after I added rel
as a content root, still links starting with a / (pointing to a web root) are broken when it tries launch it in
http://localhost:63342/rel/foo.html
<link rel="stylesheet" href="/rel/foo.html" />
I've tried setting mysite as content root but still have the same issue. In fact WS highlights those links starting with / as unresolvable.
http://localhost:63342/projectName/rel/
orhttp://localhost:63342/rel/
? I see you referencing both there, and they are not the same.