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

URL string replacement in the returned HTML #289

Closed
nczz opened this issue Jan 1, 2024 · 1 comment
Closed

URL string replacement in the returned HTML #289

nczz opened this issue Jan 1, 2024 · 1 comment

Comments

@nczz
Copy link

nczz commented Jan 1, 2024

Hi, thank you for open-sourcing such a great project!

During my usage, I found that if the HTML content outputted by my program contains absolute paths instead of relative paths, the links in the resulting document will become invalid.

I would like to inquire if it would be possible to add a 'URL replacement' parameter and functionality, so that the HTML content can replace the current domain used for browsing?

@antoniomika
Copy link
Owner

Sorry for the delay.

I think this is out of scope for sish. You can use a reverse proxy such as Caddy or Nginx to do this.

Thanks for reaching out!

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

2 participants