Skip to content

Commit

Permalink
update upload size to 256MB (#731)
Browse files Browse the repository at this point in the history
* update upload size to 256MB

* change html to 256MB
  • Loading branch information
sydowma authored Sep 18, 2018
1 parent 56a7d3f commit 14c9c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MobSF/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
STATIC_URL = '/static/'

# 256MB
DATA_UPLOAD_MAX_MEMORY_SIZE = 256000000
DATA_UPLOAD_MAX_MEMORY_SIZE = 268435456

#===================
# USER CONFIGURATION
Expand Down
2 changes: 1 addition & 1 deletion templates/general/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h5><strong><a href="/recent_scans/">Recent Scans</a> | <a href="api_docs">API D
Dropzone.options.uploadWidget = {
paramName: 'file',
createImageThumbnails: false,
maxFilesize: 300, // MB
maxFilesize: 256, // MB
maxFiles: 8,
dictDefaultMessage: 'Drag files here or click Upload & Analyze',
acceptedFiles: '.apk,.ipa,.zip,.appx',
Expand Down

0 comments on commit 14c9c22

Please sign in to comment.