File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 5959 media_id=`echo $mxc | sed 's^mxc://.*/\(.*\)^\1^'`
6060 #Upload the file to S3 and delete from Synapse's local store. This forces retrieval from S3 on download.
6161 synapse/env/bin/s3_media_upload --no-progress update --homeserver-config-path synapse/homeserver.yaml /tmp/data 0d
62- synapse/env/bin/s3_media_upload --no-progress upload --delete / tmp/data
62+ synapse/env/bin/s3_media_upload --no-progress upload --delete --endpoint-url http://127.0.0.1:9000/ / tmp/data s3-storage-provider-tester
6363 #Downloading uploaded file
6464 curl -q -o round_trip -H "Authorization: Bearer $access_token" http://127.0.0.1:8008/_matrix/client/v1/media/download/${server_name}/${media_id}
6565 #Verify file against original
You can’t perform that action at this time.
0 commit comments