diff --git a/apps/api/src/app.ts b/apps/api/src/app.ts index bd443bd8..bb85ee19 100644 --- a/apps/api/src/app.ts +++ b/apps/api/src/app.ts @@ -53,11 +53,11 @@ export default class App { private routes(): void { const sampleRouter = new SampleRouter(); - this.app.get('/', (req: Request, res: Response) => { - res.send(`Hello, Purwadhika Student !`); + this.app.get('/api', (req: Request, res: Response) => { + res.send(`Hello, Purwadhika Student API!`); }); - this.app.use('/samples', sampleRouter.getRouter()); + this.app.use('/api/samples', sampleRouter.getRouter()); } public start(): void {