BaseURL & image href on the same root
Closed this issue · 0 comments
isflavior commented
Hello.
I'm having troubles on setting a baseURL in order to exclude the '#' from the top link.
My website is, lets say: http://test.com/public
On the index.html i have <base href="/public/">
and it works perfectly, thumbs up for that 👍.
The problem is when i have this <a>
that points to a image in the same root:
<a href="http://test.com/public/media/image.png">Go To Image</a>
Somehow the Angular redirects me to my:
$routeProvider.otherwise({
redirectTo: '/404'
});