Jump to content

Load image fails through proxy


piedrahitac
 Share

Recommended Posts

Hello,

 

I developed a simple hangman game for a client and it works fine except when accessed through a proxy.

 

When I try to access the game through my client's proxy server the resources that are loaded with the method load.image('key', 'path/to/image') fail to load and return a 403 Forbidden HTTP response. However the resources that are loaded with load.spritesheet('key', 'path/to/image', 32, 32) work without any problem.

 

As I said, when I access the game from my home, office, mobile device or any other place that doesn't use a proxy the game works flawlessly, but in my client's offices, the above mentioned behavior happens. Does anyone have a clue why this could be happening?

Link to comment
Share on other sites

  • 2 weeks later...

 

there must be something with the url you are passing to load.image. looking at the code, I see no difference between the two methods of Loader :

 

Hhmmm, that's weird, I'm using the same url for both methods...

 

I'll keep looking into it, any suggestions are always welcome...

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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