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 committed by Jakobus Schürz
parent 4e398a351b
commit b56034ddd2

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)),