🐞 fix(录像): 修复上传录像错误

This commit is contained in:
luying
2023-04-19 09:40:53 +08:00
parent cb65101908
commit 17227de777
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg';
const path = require('path');
import { sshHost } from './sshHost';
export default (appInfo: EggAppInfo) => {
const config = {} as PowerPartial<EggAppConfig>;
@@ -79,6 +80,7 @@ export default (appInfo: EggAppInfo) => {
const bizConfig = {
sourceUrl: `https://github.com/eggjs/examples/tree/master/${appInfo.name}`,
};
config.sshHost = sshHost;
// the return config will combines to EggAppConfig
return {