voxel-clientmc icon indicating copy to clipboard operation
voxel-clientmc copied to clipboard

[resource_pack] Attempt to fetch texture pack using XHR, at least if local

Open deathcap opened this issue 9 years ago • 0 comments

resource_pack.js logs server-offered texture packs, since it cannot know whether or not they are downloadable, but optionally as an enhancement it could try to download and automatically install.

This would fail if the URL was remote and server has not enabled CORS, but if https://github.com/deathcap/wsmc/issues/44 voxel-clientmc serves up textures, then it the URL would be in the same domain as the voxel-clientmc web client, so the file should be downloadable without crossing origins.

deathcap avatar Feb 14 '16 03:02 deathcap