mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-05-01 03:51:33 -05:00
Increased upload limit to 100GB
This commit is contained in:
@@ -129,7 +129,7 @@ func updateConfig() {
|
||||
if serverSettings.ConfigVersion < 6 {
|
||||
serverSettings.ApiKeys = make(map[string]models.ApiKey)
|
||||
}
|
||||
// < v1.2.1
|
||||
// < v1.3.0
|
||||
if serverSettings.ConfigVersion < 7 {
|
||||
if Environment.UseSsl == environment.IsTrue {
|
||||
serverSettings.UseSsl = true
|
||||
|
||||
@@ -5,6 +5,7 @@ var dropzoneObject;
|
||||
|
||||
Dropzone.options.uploaddropzone = {
|
||||
paramName: "file",
|
||||
maxFilesize: 102400, // 100 GB
|
||||
timeout: 7200000,
|
||||
createImageThumbnails: false,
|
||||
success: function (file, response) {
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="./js/admin.js?v=5"></script>
|
||||
<script src="./js/admin.js?v=6"></script>
|
||||
|
||||
|
||||
{{ template "footer" }}
|
||||
|
||||
Reference in New Issue
Block a user