Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

The router path without splash doesn't work #1

Closed
mildronize opened this issue Nov 4, 2020 · 0 comments
Closed

The router path without splash doesn't work #1

mildronize opened this issue Nov 4, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mildronize
Copy link
Owner

mildronize commented Nov 4, 2020

I found the problem on version 1.3.1, with @Controller and @Get (including Http methods)

the user must use like this

@Controller('/auth')
export class AuthController {

  @Post('/signup')
  signup(){}
}

it should be

@Controller('auth')
export class AuthController {

  @Post('signup')
  signup(){}
}
@mildronize mildronize added the bug Something isn't working label Nov 4, 2020
@mildronize mildronize self-assigned this Nov 4, 2020
@mildronize mildronize reopened this Nov 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant