randydev commited on
Commit
14b6fdb
·
verified ·
1 Parent(s): 96e8f52

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -4,7 +4,7 @@ const app = express()
4
  import startServer from './lifestyle';
5
  import swaggerUi from 'swagger-ui-express';
6
  import swaggerDocs from './swagger';
7
- import exampleRoutes from './akenox/routes/example';
8
  import {
9
  OpenaiRes,
10
  tebakgambar,
@@ -16,7 +16,7 @@ var CheckMilWare = require('./midware.js');
16
 
17
  const CheckMilWares = new CheckMilWare();
18
 
19
- app.use('/api', exampleRoutes);
20
  app.use('/docs', swaggerUi.serve, swaggerUi.setup(swaggerDocs));
21
 
22
  app.get('/', (req, res) => {
 
4
  import startServer from './lifestyle';
5
  import swaggerUi from 'swagger-ui-express';
6
  import swaggerDocs from './swagger';
7
+ // import exampleRoutes from './akenox/routes/example';
8
  import {
9
  OpenaiRes,
10
  tebakgambar,
 
16
 
17
  const CheckMilWares = new CheckMilWare();
18
 
19
+ // app.use('/api', exampleRoutes);
20
  app.use('/docs', swaggerUi.serve, swaggerUi.setup(swaggerDocs));
21
 
22
  app.get('/', (req, res) => {