update
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
import * as ConnectionRepository from '../connections/connection.repository';
|
||||
import * as ProxyRepository from '../proxies/proxy.repository';
|
||||
import * as TagService from '../services/tag.service';
|
||||
import * as TagService from '../tags/tag.service';
|
||||
import { getDbInstance, runDb, getDb as getDbRow, allDb } from '../database/connection';
|
||||
import { decrypt, getEncryptionKeyBuffer as getCryptoKeyBuffer } from '../utils/crypto';
|
||||
import { getAllDecryptedSshKeys, DecryptedSshKeyDetails } from '../services/ssh_key.service';
|
||||
import { getAllDecryptedSshKeys, DecryptedSshKeyDetails } from '../ssh_keys/ssh_key.service';
|
||||
import archiver from 'archiver';
|
||||
archiver.registerFormat('zip-encrypted', require("archiver-zip-encrypted"));
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import net from 'net';
|
||||
import * as ConnectionRepository from '../connections/connection.repository';
|
||||
import * as ProxyRepository from '../proxies/proxy.repository';
|
||||
import { decrypt } from '../utils/crypto';
|
||||
import * as SshKeyService from './ssh_key.service';
|
||||
import * as SshKeyService from '../ssh_keys/ssh_key.service';
|
||||
|
||||
const CONNECT_TIMEOUT = 20000; // 连接超时时间 (毫秒)
|
||||
const TEST_TIMEOUT = 15000; // 测试连接超时时间 (毫秒)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Client } from 'ssh2';
|
||||
import { WebSocket } from 'ws';
|
||||
import { ClientState } from '../websocket';
|
||||
import { settingsService } from './settings.service';
|
||||
import { settingsService } from '../settings/settings.service';
|
||||
|
||||
|
||||
interface ServerStatus {
|
||||
|
||||
Reference in New Issue
Block a user