Skip to content

Commit 1f59131

Browse files
committed
fix: removed file-content code
1 parent 5f8fa45 commit 1f59131

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/index.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,6 @@ class CoCreateFileSystem {
8585
return sendResponse(balanceFalse.object[0].src, 403, { 'Content-Type': 'text/html', 'Account-Balance': 'false', 'storage': organization.storage })
8686
}
8787

88-
const fileContent = req.headers['File-Content']
89-
if (fileContent && !pathname.startsWith('/superadmin')) {
90-
crud.wsManager.emit("setBandwidth", {
91-
type: 'in',
92-
data: fileContent,
93-
organization_id
94-
});
95-
96-
return sendResponse(fileContent, 200, { 'Content-Type': req.headers['Content-Type'] })
97-
}
98-
9988
let data = {
10089
method: 'read.object',
10190
array: 'files',

0 commit comments

Comments
 (0)