mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Enable compression for http requests (#888)
Enable compression for http requests made by VRCX to improve bandwidth usage and speed. Also removed duplicate setWorldImage assigning.
This commit is contained in:
@@ -23522,21 +23522,6 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
});
|
||||
|
||||
API.setWorldImage = function (params) {
|
||||
return this.call(`worlds/${params.id}`, {
|
||||
method: 'PUT',
|
||||
params
|
||||
}).then((json) => {
|
||||
var args = {
|
||||
json,
|
||||
params
|
||||
};
|
||||
this.$emit('WORLDIMAGE:SET', args);
|
||||
this.$emit('WORLD', args);
|
||||
return args;
|
||||
});
|
||||
};
|
||||
|
||||
API.$on('WORLDIMAGE:SET', function (args) {
|
||||
$app.worldDialog.loading = false;
|
||||
$app.changeWorldImageDialogLoading = false;
|
||||
|
||||
Reference in New Issue
Block a user