elastic: fix endpoint setting

This commit is contained in:
undefined committed 2022-03-18 22:51:35 +08:00
1 parent 18fc66ecb7
commit c8c291fded
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -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'];
+2
View File
@@ -0,0 +1,2 @@
url:
value: http://127.0.0.1:9200