feat: integrate tus.io for resumable and chunked uploads (#2145)

This commit is contained in:
Tobias Goerke
2023-07-28 18:15:44 +02:00
committed by GitHub
parent 2744f7d5b9
commit 7b35815754
24 changed files with 694 additions and 66 deletions

View File

@@ -15,7 +15,9 @@ const theme = window.FileBrowser.Theme;
const enableThumbs = window.FileBrowser.EnableThumbs;
const resizePreview = window.FileBrowser.ResizePreview;
const enableExec = window.FileBrowser.EnableExec;
const tusSettings = window.FileBrowser.TusSettings;
const origin = window.location.origin;
const tusEndpoint = `${baseURL}/api/tus`;
export {
name,
@@ -34,5 +36,7 @@ export {
enableThumbs,
resizePreview,
enableExec,
tusSettings,
origin,
tusEndpoint,
};