Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deathcap opened this issue Feb 14, 2016 · 0 comments

Comments

@deathcap
Copy link
Member

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 deathcap/wsmc#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant