1
0
Fork 0

Cast the base URL as string in /friendica/json

- This was causing the data.url key to have no value, which broke the directory integration
This commit is contained in:
Hypolite Petovan 2023-03-12 17:55:57 -04:00
parent 7ac5c1eee8
commit 30e1851747

View file

@ -172,7 +172,7 @@ class Friendica extends BaseModule
$data = [
'version' => App::VERSION,
'url' => DI::baseUrl(),
'url' => (string)DI::baseUrl(),
'addons' => $visible_addons,
'locked_features' => $locked_features,
'explicit_content' => intval($config->get('system', 'explicit_content', 0)),