mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ci fix
This commit is contained in:
1 parent
ce79bfab8b
commit
6b92b96225
4 files changed
+40
-2
No files matched your search
@@ -78,6 +78,7 @@ async function get(ctx: Context) {
|
||||
async function post(ctx: Context) {
|
||||
const {
|
||||
host, port, name, username, password,
|
||||
// @ts-expect-error
|
||||
} = ctx.request.body;
|
||||
let mongourl = 'mongodb://';
|
||||
if (username) mongourl += `${username}:${password}@`;
|
||||
|
||||
Reference in new issue
Block a user