mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
Rework client storage access (#10081)
* add generic uploader interface Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> * fix: refactor xhr upload Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> * enhance xhr upload Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> * refactor uploader Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> * fix: restore files url Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> * move storage client to core Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> * fix: revert front cookie Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com> --------- Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -22,7 +22,8 @@ services:
|
||||
- STORAGE_CONFIG=${DATALAKE_STORAGE_CONFIG}
|
||||
- FILES_URL=http://localhost:4031/blob/:workspace/:blobId/:filename
|
||||
- UPLOAD_URL=http://localhost:4031/upload/form-data/:workspace
|
||||
- PREVIEW_CONFIG=http://localhost:4031/image/fit=cover,width=:width,height=:height,dpr=:dpr/:workspace/:blobId
|
||||
- DATALAKE_URL=http://localhost:4031
|
||||
- PREVIEW_URL=http://localhost:4031
|
||||
collaborator:
|
||||
environment:
|
||||
- STORAGE_CONFIG=${DATALAKE_STORAGE_CONFIG}
|
||||
|
||||
Reference in New Issue
Block a user