mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-24 13:34:25 +00:00
add application mode settings
This commit is contained in:
parent
9396c52313
commit
a16a13b395
@ -15,6 +15,17 @@ error_reporting(E_ALL);
|
||||
*/
|
||||
define('APPLICATION_NAME', 'My YGGo host');
|
||||
|
||||
/*
|
||||
* Application mode
|
||||
*
|
||||
* FEDERATIVE - crawl and share distributed index from other YGGo nodes running on same API version
|
||||
* LOCAL - encapsulated web search portal
|
||||
*
|
||||
* see also: API_ENABLED, API_MANIFEST_ENABLED settings
|
||||
*
|
||||
*/
|
||||
define('APPLICATION_MODE', 'FEDERATIVE');
|
||||
|
||||
// Website
|
||||
|
||||
/*
|
||||
|
@ -100,8 +100,8 @@ if (API_ENABLED) {
|
||||
'status' => true,
|
||||
'result' => [
|
||||
'applicationName' => APPLICATION_NAME,
|
||||
|
||||
'websiteDomain' => WEBSITE_DOMAIN,
|
||||
'applicationMode' => APPLICATION_MODE,
|
||||
'applicationUrl' => WEBSITE_DOMAIN,
|
||||
|
||||
'crawlUrlRegexp' => CRAWL_URL_REGEXP,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user