zs 1 년 전
부모
커밋
285a4b916c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/controller/file.controller.ts

+ 1 - 1
src/controller/file.controller.ts

@@ -2,7 +2,7 @@ import { Controller, Inject, Post, Files, Fields } from '@midwayjs/core';
 import { FileService } from '../service/file.service';
 import { Context } from '@midwayjs/koa';
 
-@Controller()
+@Controller('/')
 export class FileController {
   @Inject()
   service: FileService;