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:
parent
7ac5c1eee8
commit
30e1851747
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class Friendica extends BaseModule
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'version' => App::VERSION,
|
'version' => App::VERSION,
|
||||||
'url' => DI::baseUrl(),
|
'url' => (string)DI::baseUrl(),
|
||||||
'addons' => $visible_addons,
|
'addons' => $visible_addons,
|
||||||
'locked_features' => $locked_features,
|
'locked_features' => $locked_features,
|
||||||
'explicit_content' => intval($config->get('system', 'explicit_content', 0)),
|
'explicit_content' => intval($config->get('system', 'explicit_content', 0)),
|
||||||
|
|
Loading…
Reference in a new issue