✨ feat(录像): 修改录像上传逻辑
This commit is contained in:
@@ -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 {
|
||||
|
||||
1
web-server/config/sshHost.ts
Normal file
1
web-server/config/sshHost.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const sshHost = "local";
|
||||
Reference in New Issue
Block a user