zs 1 год назад
Родитель
Сommit
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;