Closed juliushaertl closed 5 years ago
we're not using overwrite.cli.url
anymore, host must be set in the admin settings page, and should not be changed once used.
Theoretically, changing the address for the social app would require to drop all data from database. Now, if someone wants to change all ids in all table, this might be a working solution, but will still bring issues.
overwrite.cli.url
, we probably should just use the domain the user is currently using when browsing the social app for the first time@daita Don't we have any possibility to just keep the domain out of the database and add the domain prefix for the activity pub urls dynamically on each request?
E.g. we have cloud1.example.com and cloud2.example.com which are both trusted domains of the same Nextcloud instance.
Request https://cloud1.example.com/index.php/apps/social/@admin would return
Request https://cloud2.example.com/index.php/apps/social/@admin would return