randydev commited on
Commit
1c2f245
·
verified ·
1 Parent(s): 78a8417

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -3
index.js CHANGED
@@ -1,8 +1,8 @@
1
  import express from 'express';
2
  const app = express()
3
 
4
- import swaggerUi from 'swagger-ui-express';
5
- import swaggerDocs from './swagger.js';
6
  // import exampleRoutes from './akenox/routes/example';
7
  import { OpenaiRes, tebakgambar, AnimeHentai } from './scrapper.js';
8
 
@@ -70,4 +70,4 @@ app.get('/api/gpt-old', async (req, res) => {
70
  }
71
  });
72
 
73
- startServer(app);
 
1
  import express from 'express';
2
  const app = express()
3
 
4
+ import * as swaggerUi from 'swagger-ui-express';
5
+ import * as swaggerDocs from './swagger.js';
6
  // import exampleRoutes from './akenox/routes/example';
7
  import { OpenaiRes, tebakgambar, AnimeHentai } from './scrapper.js';
8
 
 
70
  }
71
  });
72
 
73
+ lifestyle.startServer(app);