Skip to content

Commit d6721cf

Browse files
Fix api auth routing
1 parent f293f52 commit d6721cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/auth/auth.controller.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Body, Controller, Post } from '@nestjs/common';
22
import { AuthService } from './auth.service';
33
import { Public } from '../common/decorators/public.decorator';
44

5-
@Controller('auth')
5+
@Controller('api/auth')
66
export class AuthController {
77
constructor(private readonly authService: AuthService) {}
88

@@ -18,4 +18,3 @@ export class AuthController {
1818
return this.authService.login(body.username, body.password);
1919
}
2020
}
21-

0 commit comments

Comments
 (0)