Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relative links instead of absolute when using server side rendering #231

Closed
benjaminkitt opened this issue Dec 12, 2015 · 0 comments
Closed

Comments

@benjaminkitt
Copy link
Contributor

Hi and thanks for the great app!

I've got your app running on a server that proxies it to a specific path, ie. http://myserver/cops

This works great in desktop browsers as all links are relative, so they point to, for example, http://myserver/cops/index.php?page=1

However, on my Kindle the pages are rendered on the server, and it renders the links using an absolute URL, i.e. http://myserver/index.php?page=1

Obviously this returns a 404 as the page cannot be found. Can you make server side rendering produce relative URLs instead of absolute?

Thanks so much!
Benjamin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant