Sign in to follow this  
adrianka

Import MIME type issue

Recommended Posts

Hi there, nice to meet you :)

So I have the exact same issue as related in this topic :

 

I understand the problem and the solution. But, I'm currently running my babylon app locally without any HTTP server such as Apache, it's just firefox looking on my computer files.

So I'm a little confused : does BabylonJS need a local HTTP server such as WAMP or XAMPP ? Why is that since it's just JavaScript ?

 

Share this post


Link to post
Share on other sites

Hey and welcome!

It is not a babylon.js problem per se but more a security constraint enforced by browsers to secure your local files

 

If you are a node user, you can rely on httpserver (https://www.npmjs.com/package/http-server), it is pretty easy to setup to serve a single folder where you can set all your files

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.