mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
AddTorrentByFile: use base64 instead of Blob to transfer file
This commit is contained in:
@@ -37,8 +37,8 @@ app.set('etag', false);
|
||||
app.use(morgan('dev'));
|
||||
app.use(passport.initialize());
|
||||
app.use(compression());
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.urlencoded({extended: false}));
|
||||
app.use(bodyParser.json({limit: '50mb'}));
|
||||
app.use(bodyParser.urlencoded({extended: false, limit: '50mb'}));
|
||||
app.use(cookieParser());
|
||||
|
||||
passportConfig(passport);
|
||||
|
||||
Reference in New Issue
Block a user