HotTowel-Angular icon indicating copy to clipboard operation
HotTowel-Angular copied to clipboard

the views path are absolute and will return 404 if the app is served from a subdirectory of the domain

Open serbrech opened this issue 12 years ago • 2 comments

serbrech avatar Dec 13 '13 11:12 serbrech

I fixed it locally, I will fork and submit the fix here.

serbrech avatar Dec 13 '13 11:12 serbrech

That way I believe the paths are relative to the index.html, not to the root of the domain. at least this works for me. I just referenced the issue in my commit, do I also need to submit a pull request or you can grab it from here?

Some people also use the base tag in the head of the html, but that would be for links that are inserted directly in the html and not processed by angular. (like the ../../Content/.png)

serbrech avatar Dec 13 '13 12:12 serbrech