json-feed-viewer icon indicating copy to clipboard operation
json-feed-viewer copied to clipboard

Relative URLs in feeds are broken

Open maximevaillancourt opened this issue 7 years ago • 1 comments

Relative links in feeds don't work, since they're expanded to the wrong domain. For instance,

/relative/url/example

is currently expanded to

https://json-feed-viewer.herokuapp.com/relative/url/example

when it should expand to

//feed.domain/relative/url/example

maximevaillancourt avatar May 31 '17 19:05 maximevaillancourt

I believe just adding <base href="//feed.domain"> to html head will be enough.

paulradzkov avatar Jul 22 '17 19:07 paulradzkov