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
pull/12882/head
Hypolite Petovan 2023-03-12 17:55:57 -04:00
rodzic 7ac5c1eee8
commit 30e1851747
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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