randydev commited on
Commit
7880601
·
verified ·
1 Parent(s): 8add81b

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -13,7 +13,7 @@ import { router as exampleRouter } from './routes/example.js';
13
 
14
  const CheckMilWares = new CheckMilWare();
15
 
16
- app.use('/api', routers);
17
  app.use('/docs', swaggerUi.serve, swaggerUi.setup(swaggerDocs));
18
 
19
  app.get('/', (req, res) => {
 
13
 
14
  const CheckMilWares = new CheckMilWare();
15
 
16
+ app.use('/api', exampleRouter);
17
  app.use('/docs', swaggerUi.serve, swaggerUi.setup(swaggerDocs));
18
 
19
  app.get('/', (req, res) => {