moahmedwafy commited on
Commit
014ff66
·
1 Parent(s): 4feafca

feat: set prefix

Browse files
Files changed (1) hide show
  1. src/index.ts +1 -1
src/index.ts CHANGED
@@ -17,7 +17,7 @@ const main = async () => {
17
  app.use(express.json());
18
 
19
  // set up routes
20
- app.use(mainRouter);
21
 
22
  // start server
23
  app.listen(config.port, () => {
 
17
  app.use(express.json());
18
 
19
  // set up routes
20
+ app.use("/api/v1", mainRouter);
21
 
22
  // start server
23
  app.listen(config.port, () => {