mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
Add User-Agent, fixes 403 spam
This commit is contained in:
@@ -344,6 +344,9 @@ speechSynthesis.getVoices();
|
||||
var init = {
|
||||
url: `https://api.vrchat.cloud/api/1/${endpoint}`,
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'User-Agent': `VRCX ${$app.appVersion}`
|
||||
},
|
||||
...options
|
||||
};
|
||||
var { params } = init;
|
||||
|
||||
Reference in New Issue
Block a user