zs 1 vuosi sitten
vanhempi
commit
285a4b916c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;