mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
oh its just requestTimeout.
This commit is contained in:
parent
7d622a481b
commit
840fb2ab39
|
@ -3,7 +3,7 @@
|
||||||
"maxDiscordFileSize": 10485760,
|
"maxDiscordFileSize": 10485760,
|
||||||
"targetGuild": "906767804575928390",
|
"targetGuild": "906767804575928390",
|
||||||
"targetChannel": "1024080525993971913",
|
"targetChannel": "1024080525993971913",
|
||||||
"requestTimeout": 120000,
|
"requestTimeout": 1800000,
|
||||||
"maxUploadIdLength": 30,
|
"maxUploadIdLength": 30,
|
||||||
"accounts": {
|
"accounts": {
|
||||||
"registrationEnabled": true,
|
"registrationEnabled": true,
|
||||||
|
|
|
@ -114,6 +114,10 @@ serve(
|
||||||
{
|
{
|
||||||
fetch: app.fetch,
|
fetch: app.fetch,
|
||||||
port: Number(process.env.MONOFILE_PORT || 3000),
|
port: Number(process.env.MONOFILE_PORT || 3000),
|
||||||
|
serverOptions: {
|
||||||
|
//@ts-ignore
|
||||||
|
requestTimeout: config.requestTimeout
|
||||||
|
}
|
||||||
},
|
},
|
||||||
(info) => {
|
(info) => {
|
||||||
console.log("Web OK!", info.port, info.address)
|
console.log("Web OK!", info.port, info.address)
|
||||||
|
|
Loading…
Reference in a new issue