mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
add api user agent customization
This commit is contained in:
parent
11c397b566
commit
034a8c540a
4 changed files with 13 additions and 9 deletions
|
|
@ -47,7 +47,6 @@ try
|
|||
// Manifest
|
||||
$manifest =
|
||||
[
|
||||
'version' => API_VERSION,
|
||||
'updated' => time(),
|
||||
|
||||
'settings' => (object)
|
||||
|
|
@ -109,6 +108,9 @@ try
|
|||
|
||||
'MAGNET_STOP_WORDS_SIMILAR' => (object) MAGNET_STOP_WORDS_SIMILAR,
|
||||
|
||||
'API_VERSION' => (string) API_VERSION,
|
||||
'API_USER_AGENT' => (string) API_USER_AGENT,
|
||||
|
||||
'API_EXPORT_ENABLED' => (bool) API_EXPORT_ENABLED,
|
||||
'API_EXPORT_PUSH_ENABLED' => (bool) API_EXPORT_PUSH_ENABLED,
|
||||
'API_EXPORT_USERS_ENABLED' => (bool) API_EXPORT_USERS_ENABLED,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue