Update index.js
Browse files
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);
|