Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/modules/creator/creator.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ import { CREATOR_PUBLIC_ROUTE_CACHE_PRESETS } from '../../constants/creator-publ
const router = Router();

/**
* Creator module route map (initial scaffold):
* Creator module route map:
*
* - GET /api/v1/creators
* - GET /api/v1/creators/:creatorId/profile
* - PUT /api/v1/creators/:creatorId/profile
*
* Note: The legacy creators list route is no longer mounted from `src/modules/index.ts` because
* `src/modules/creators/creators.routes.ts` is the active public endpoint.
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/modules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { Router } from 'express';
import authRouter from './auth/auth.routes';
import healthRouter from './health/health.routes';
import configRouter from './config/config.routes';
import creatorRouter from './creator/creator.routes';
import creatorsRouter from './creators/creators.routes';
import { BASE as CREATORS_BASE } from '../constants/creator.constants';

const router = Router();

router.use('/health', healthRouter);
router.use('/auth', authRouter);
router.use('/config', configRouter);
router.use(CREATORS_BASE, creatorRouter);
router.use(CREATORS_BASE, creatorsRouter);

export default router;
Loading