mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
sonic: use ::1 as default target
This commit is contained in:
1 parent
b4ac4da1fd
commit
3171277252
3 files changed
+5
-5
No files matched your search
@@ -47,9 +47,9 @@ class SonicService implements BaseService {
|
||||
async start() {
|
||||
const [host, port, auth] = system.getMany(['sonic.host', 'sonic.port', 'sonic.auth']);
|
||||
const cfg = {
|
||||
host: host || '127.0.0.1',
|
||||
host: host || '::1',
|
||||
port: port || 1491,
|
||||
auth: auth || 'sonic-passwd',
|
||||
auth: auth || '',
|
||||
};
|
||||
this.search = new Search(cfg);
|
||||
this.ingest = new Ingest(cfg);
|
||||
|
||||
Reference in new issue
Block a user