1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00
discourse_ynh/sources/patches/main-7-fix-uppy-upload.patch

26 lines
1 KiB
Diff
Raw Normal View History

2024-08-30 11:55:29 +02:00
From c1dc85c042033cd689346d0bf6e747a97f4c4e7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= <felix.piedallu@semtech.com>
Date: Fri, 30 Aug 2024 11:55:03 +0200
Subject: [PATCH] Fix uppy-upload.js
---
app/assets/javascripts/discourse/app/mixins/uppy-upload.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2022-07-27 04:15:08 +02:00
diff --git a/app/assets/javascripts/discourse/app/mixins/uppy-upload.js b/app/assets/javascripts/discourse/app/mixins/uppy-upload.js
2024-08-30 11:55:29 +02:00
index ff2a0e95..50be945e 100644
2022-07-27 04:15:08 +02:00
--- a/app/assets/javascripts/discourse/app/mixins/uppy-upload.js
+++ b/app/assets/javascripts/discourse/app/mixins/uppy-upload.js
2024-08-30 11:55:29 +02:00
@@ -23,7 +23,7 @@ import { deepMerge } from "discourse-common/lib/object";
import { bind, on } from "discourse-common/utils/decorators";
import I18n from "discourse-i18n";
2022-07-27 04:15:08 +02:00
-export const HUGE_FILE_THRESHOLD_BYTES = 104_857_600; // 100MB
+export const HUGE_FILE_THRESHOLD_BYTES = "104_857_600"; // 100MB
2024-08-30 11:55:29 +02:00
export default Mixin.create(UppyS3Multipart, ExtendableUploader, {
dialog: service(),
--
2.43.0