plsgivemeachane commited on
Commit
2d46898
·
1 Parent(s): 79d0071

try to fix some stuff

Browse files
Files changed (1) hide show
  1. index.js +1 -13
index.js CHANGED
@@ -17,9 +17,7 @@ const http = require('http');
17
  const server = http.createServer(app);
18
  const { Server } = require("socket.io");
19
  const { type } = require('os');
20
- const io = new Server(server, {
21
- maxHttpBufferSize: 1e8
22
- });
23
 
24
  const SALT = process.env.PRIVATE_KEY
25
 
@@ -103,16 +101,6 @@ const upload = multer({
103
  limits: { fileSize: 10 * 1024 * 1024 * 1024 } // 10GB
104
  });
105
 
106
-
107
- const MAIN_STORAGE = "quanvndzai";
108
-
109
- const getRepo = (username) => {
110
- return {
111
- type: "dataset",
112
- name: MAIN_STORAGE + "/" + username
113
- }
114
- };
115
-
116
  // console.log(file)
117
 
118
  const current_connections = []
 
17
  const server = http.createServer(app);
18
  const { Server } = require("socket.io");
19
  const { type } = require('os');
20
+ const io = new Server(server);
 
 
21
 
22
  const SALT = process.env.PRIVATE_KEY
23
 
 
101
  limits: { fileSize: 10 * 1024 * 1024 * 1024 } // 10GB
102
  });
103
 
 
 
 
 
 
 
 
 
 
 
104
  // console.log(file)
105
 
106
  const current_connections = []