zs il y a 1 an
Parent
commit
285a4b916c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;