add api user agent customization

This commit is contained in:
ghost 2023-09-15 23:24:59 +03:00
parent 11c397b566
commit 034a8c540a
4 changed files with 13 additions and 9 deletions

View file

@ -145,7 +145,9 @@ define('NODE_RULE_SUBJECT', 'Common');
define('NODE_RULE_LANGUAGES', 'All');
// API
define('API_VERSION', 1);
define('API_VERSION', '1.0.0');
define('API_USER_AGENT', WEBSITE_NAME);
/// Export
define('API_EXPORT_ENABLED', true);