fix: 修复迁移(升级)gateway api导致的静态文件服务返回错误的bug

pull/64/head
moonrailgun 2 years ago
parent d96dea5e40
commit 066eb96369

@ -277,8 +277,7 @@ export default class ApiService extends TcService {
req: IncomingMessage,
res: ServerResponse
) {
const arr: string[] = _.get(req, '$params.objectName') ?? [];
const objectName = arr.join('/');
const objectName = _.get(req, '$params.objectName');
try {
const result: Readable = await this.broker.call(

Loading…
Cancel
Save