URL not correct
-
wrote on Jul 5, 2023, 11:30 AM last edited by timbo Jul 5, 2023, 11:31 AM
There seems to be something wrong.
In the Config.js:domain: process.env.CLOUDRON_URL, // Or for example 'teddit.net'
The URL should be example.tld <- where the cloudron-app runs.
But when opening Teddit and clicking on "reddit"-links, it will give me an URL like this:
https://undefined/r/...Package Version
com.teddit.cloudronapp@0.3.0
Last Updated
19:06 -
wrote on Jul 5, 2023, 11:34 AM last edited by timbo Jul 5, 2023, 11:34 AM
changing:
domain: process.env.CLOUDRON_URL, // Or for example 'teddit.net'
does not help.
-
wrote on Jul 5, 2023, 11:42 AM last edited by
This seems to only be happening to Links in the "Wiki"-Section of a subreddit.
-
wrote on Jul 5, 2023, 11:44 AM last edited by
For example here: https://teddit.net/r/BuyItForLife/wiki
on a self hosted instances the links in the lists will become "undefined". -
wrote on Jul 5, 2023, 12:07 PM last edited by
Yes, that totally fixes it.