mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-01 12:43:46 +02:00
Remove userdialog playtime & fix screenshot search worldName
This commit is contained in:
@@ -22,6 +22,15 @@ export default class extends baseClass {
|
||||
args.ref = this.applyConfig(args.json);
|
||||
});
|
||||
|
||||
API.$on('CONFIG', function (args) {
|
||||
if (typeof args.ref?.whiteListedAssetUrls !== 'object') {
|
||||
console.error('Invalid config whiteListedAssetUrls');
|
||||
}
|
||||
AppApi.PopulateImageHosts(
|
||||
JSON.stringify(args.ref.whiteListedAssetUrls)
|
||||
);
|
||||
});
|
||||
|
||||
API.applyConfig = function (json) {
|
||||
var ref = {
|
||||
...json
|
||||
|
||||
Reference in New Issue
Block a user