lazar.lakusic Posted July 13, 2021 Share Posted July 13, 2021 I made .webp spritesheets with texture packer, add in pixi.loader .json file that connects that .webp image and I've got an error. It works on a local machine, but, when i put it on server, loader cant find my .webp files? It is verry strange. .png files works fine. Files are on the right adress.. It may be because of the .webp extension, but why it works locally? Please help Quote Link to comment Share on other sites More sharing options...
lazar.lakusic Posted July 13, 2021 Author Share Posted July 13, 2021 @ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 13, 2021 Share Posted July 13, 2021 > It may be because of the .webp extension, but why it works locally? something about mime types on server probably lazar.lakusic 1 Quote Link to comment Share on other sites More sharing options...
lazar.lakusic Posted July 14, 2021 Author Share Posted July 14, 2021 (edited) You were right. That solved the problem! I add it in the setting about MIME types on server. Thanks a lot. https://stackoverflow.com/questions/55740558/get-404-not-found-for-webp-images-on-the-website Edited July 14, 2021 by lazar.lakusic ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.