mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
install: fix
This commit is contained in:
1 parent
1e1280c47b
commit
0200c7b168
1 file changed
+1
-1
+1
-1
@@ -331,7 +331,7 @@ connect-timeout = 10`);
|
|||||||
pwd: password,
|
pwd: password,
|
||||||
roles: [{ role: 'readWrite', db: 'hydro' }],
|
roles: [{ role: 'readWrite', db: 'hydro' }],
|
||||||
})})`),
|
})})`),
|
||||||
[`mongo 127.0.0.1:27017/hydro ${tmpFile}`, { retry: true }],
|
[`mongosh 127.0.0.1:27017/hydro ${tmpFile}`, { retry: true }],
|
||||||
() => writeFileSync(`${process.env.HOME}/.hydro/config.json`, JSON.stringify({
|
() => writeFileSync(`${process.env.HOME}/.hydro/config.json`, JSON.stringify({
|
||||||
uri: `mongodb://hydro:${password}@127.0.0.1:27017/hydro`,
|
uri: `mongodb://hydro:${password}@127.0.0.1:27017/hydro`,
|
||||||
})),
|
})),
|
||||||
|
|||||||
Reference in new issue
Block a user