post路由改为posts

This commit is contained in:
Jeremy Yin 2019-06-26 21:26:54 +08:00
parent 8bbd894976
commit 2d8abb673c
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { Controller } from '@nestjs/common';
@Controller('post')
@Controller('posts')
export class PostController {}