You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
427 B
19 lines
427 B
import { Routes } from 'nest-router';
|
|
import { UserModule } from './modules/user/user.module';
|
|
import { RolesModule } from './modules/roles/roles.module';
|
|
import { AuthController } from './modules/core/auth/auth.controller';
|
|
|
|
export const appRoutes: Routes = [
|
|
{
|
|
path: '/users',
|
|
module: UserModule,
|
|
},
|
|
{
|
|
path: '/roles',
|
|
module: RolesModule,
|
|
},
|
|
{
|
|
path: '/auth',
|
|
module: AuthController,
|
|
},
|
|
];
|