mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
elastic: fix endpoint setting
This commit is contained in:
1 parent
18fc66ecb7
commit
c8c291fded
2 files changed
+3
-1
No files matched your search
@@ -6,7 +6,7 @@ import * as system from 'hydrooj/src/model/system';
|
||||
import { iterateAllProblem, iterateAllProblemInDomain } from 'hydrooj/src/pipelineUtils';
|
||||
import * as bus from 'hydrooj/src/service/bus';
|
||||
|
||||
const client = new Client({ node: system.get('elasticsearch.url') || 'http://192.168.1.82:9200' });
|
||||
const client = new Client({ node: system.get('elastic-search.url') || 'http://127.0.0.1:9200' });
|
||||
|
||||
const indexOmit = ['_id', 'docType', 'data', 'additional_file', 'config', 'stats', 'assign'];
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
url:
|
||||
value: http://127.0.0.1:9200
|
||||
Reference in new issue
Block a user