Update index.js
Browse files
index.js
CHANGED
@@ -28,6 +28,7 @@ import * as lifestyle from './lifestyle.js';
|
|
28 |
|
29 |
import sharp from "sharp";
|
30 |
import { Readable } from "stream";
|
|
|
31 |
import { schellwithflux } from './fluxai.js';
|
32 |
import { OpenaiRes, tebakgambar, AnimeHentai } from './scrapper.js';
|
33 |
import { GeminiResponse } from './googleGemini.js';
|
@@ -36,6 +37,7 @@ import { CheckMilWare } from './midware.js';
|
|
36 |
const CheckMilWares = new CheckMilWare();
|
37 |
|
38 |
app.disable('x-powered-by');
|
|
|
39 |
|
40 |
app.get('/', (req, res) => {
|
41 |
res.redirect('https://t.me/RendyProjects');
|
|
|
28 |
|
29 |
import sharp from "sharp";
|
30 |
import { Readable } from "stream";
|
31 |
+
import bodyParser from 'body-parser';
|
32 |
import { schellwithflux } from './fluxai.js';
|
33 |
import { OpenaiRes, tebakgambar, AnimeHentai } from './scrapper.js';
|
34 |
import { GeminiResponse } from './googleGemini.js';
|
|
|
37 |
const CheckMilWares = new CheckMilWare();
|
38 |
|
39 |
app.disable('x-powered-by');
|
40 |
+
app.use(bodyParser.json());
|
41 |
|
42 |
app.get('/', (req, res) => {
|
43 |
res.redirect('https://t.me/RendyProjects');
|