Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
@@ -12,9 +12,9 @@ app.use(express.static('public'));
|
|
12 |
app.use(bodyParser.json());
|
13 |
app.use(bodyParser.urlencoded({ extended: true }));
|
14 |
// Increase JSON body parser limit
|
15 |
-
app.use(express.json({limit: '
|
16 |
// If you're also using URL-encoded parser
|
17 |
-
app.use(express.urlencoded({limit: '
|
18 |
|
19 |
|
20 |
function compressHtmlForLlm(html, options = {}) {
|
|
|
12 |
app.use(bodyParser.json());
|
13 |
app.use(bodyParser.urlencoded({ extended: true }));
|
14 |
// Increase JSON body parser limit
|
15 |
+
app.use(express.json({limit: '50mb'}));
|
16 |
// If you're also using URL-encoded parser
|
17 |
+
app.use(express.urlencoded({limit: '50mb', extended: true}));
|
18 |
|
19 |
|
20 |
function compressHtmlForLlm(html, options = {}) {
|