feat(录像): 修改录像上传逻辑

This commit is contained in:
luying
2023-04-18 11:35:34 +08:00
parent 180b215b2e
commit 81260bb695
13 changed files with 46 additions and 25 deletions

View File

@@ -1,5 +1,6 @@
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg';
import defaultConfig from './config.default';
import { sshHost } from './sshHost';
export default (appInfo: EggAppInfo) => {
const config = {} as PowerPartial<EggAppConfig>;
@@ -18,6 +19,7 @@ export default (appInfo: EggAppInfo) => {
};
config.decodeParm = true;
config.sshHost = sshHost;
// the return config will combines to EggAppConfig
return {

View File

@@ -0,0 +1 @@
export const sshHost = "local";