Update index.js
Browse files
index.js
CHANGED
@@ -26,7 +26,7 @@ import * as cheerio from 'cheerio';
|
|
26 |
import * as lifestyle from './startup/lifestyle.js';
|
27 |
|
28 |
import { Readable } from "stream";
|
29 |
-
import {
|
30 |
import { CheckMilWare } from './middleware/midware.js';
|
31 |
import { setup, serve } from './swagger.js';
|
32 |
import { swaggerOptions } from './settingOptions.js';
|
@@ -38,6 +38,7 @@ import swaggerJsDoc from 'swagger-jsdoc';
|
|
38 |
|
39 |
// routes
|
40 |
import { FluxRoutes } from './plugins/fluxai.js';
|
|
|
41 |
import { GeminiRoutes } from './routes/googleGemini.js';
|
42 |
|
43 |
const CheckMilWares = new CheckMilWare();
|
@@ -58,6 +59,7 @@ app.use(
|
|
58 |
// routes
|
59 |
app.use(GeminiRoutes);
|
60 |
app.use(FluxRoutes);
|
|
|
61 |
|
62 |
const specs = swaggerJsDoc(swaggerOptions);
|
63 |
|
|
|
26 |
import * as lifestyle from './startup/lifestyle.js';
|
27 |
|
28 |
import { Readable } from "stream";
|
29 |
+
import { tebakgambar, AnimeHentai } from './scrapper.js';
|
30 |
import { CheckMilWare } from './middleware/midware.js';
|
31 |
import { setup, serve } from './swagger.js';
|
32 |
import { swaggerOptions } from './settingOptions.js';
|
|
|
38 |
|
39 |
// routes
|
40 |
import { FluxRoutes } from './plugins/fluxai.js';
|
41 |
+
import { GptRoutes } from './plugins/gptold.js';
|
42 |
import { GeminiRoutes } from './routes/googleGemini.js';
|
43 |
|
44 |
const CheckMilWares = new CheckMilWare();
|
|
|
59 |
// routes
|
60 |
app.use(GeminiRoutes);
|
61 |
app.use(FluxRoutes);
|
62 |
+
app.use(GptRoutes);
|
63 |
|
64 |
const specs = swaggerJsDoc(swaggerOptions);
|
65 |
|