burhan-syed / troddit

A web client for Reddit with authenticated logins and a variety of browsing options
https://www.troddit.com
GNU Affero General Public License v3.0
555 stars 82 forks source link

Don't replace reddit links with troddit.com, but with custom domain #70

Closed JVT038 closed 2 years ago

JVT038 commented 2 years ago

I've noticed that all the links to reddit.com are being changed to troddit.com I would prefer to change the links to the current domain. So if I host my own troddit instance on troddit.mydomain.com, change the reddit links to troddit.mydomain.com, instead of to troddit.com. Perhaps it can be detected what the current URI is, and to change it to that. So if I visit my self-hosted instance through troddit.mydomain.com, it'll be changed to troddit.mydomain.com, but if I visit the same instance on localhost:3000, then the links will be changed to localhost:3000.