Jump to content

Phaser issue with black screen


Nikita99
 Share

Recommended Posts

I tried to run the Phaser example from the root of my Apache-Tomcat server and when the browser open there is nothing but just black screen and in the console it says : Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Received an invalid response. Origin 'null' is therefore not allowed access.
What i am supposed to do to fix that...?

Link to comment
Share on other sites

It looks like you're running the html file and it's thus opening locally rather than through the web server. You'll need to connect to your web server via its IP address or hostname (on your own machine that will likely be localhost or 127.0.0.1)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...