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

Allow user to specify baseurl #5

Closed
FraMecca opened this issue Jan 15, 2021 · 3 comments
Closed

Allow user to specify baseurl #5

FraMecca opened this issue Jan 15, 2021 · 3 comments

Comments

@FraMecca
Copy link
Contributor

Hi,
for using this software behind reverse proxy it would be useful to specify a baseurl so that every link in the template is prefixed with the baseurl:
http://example.com/chan ---> root of the imageboard

@gnstaxo
Copy link
Owner

gnstaxo commented Jan 15, 2021

To be honest, I was not aware of the existence of reverse proxies, thank you for letting me know

@FraMecca
Copy link
Contributor Author

FraMecca commented Jan 15, 2021

It wont be that much complex than putting f'{baseurl}/' in front of each decorator and in front of templates hrefs. I don't have the time to open a PR on this right now, sorry.

@gnstaxo gnstaxo closed this as completed Jan 16, 2021
@FraMecca
Copy link
Contributor Author

thank you very much for implementing this

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