Execution path
Monkey Targets Forums/HTML5/Execution path
| ||
Hi guys, I got a problem with the execution path from the html5 target. I want to test something with Ajax and Iīve installed an apache server to test it local on my pc. If I run my code, monkey execute my source with this path: file:///C:/xampp/htdocs/ajax/ajax.build/html5/MonkeyGame.html After executing it doesnīt run because the path should be http://localhost/ajax/ajax.build/html5/MonkeyGame.html Is there a way to change it? Mfg Suco |
| ||
Hi, Not currently - you'll need to manually browse to the file, and then hit 'refresh' to test changes. The next release will include a 'mini-server' to help with issues like this. |
| ||
A work around is to put code in MonkeyGame.html that redirects to a localhost address instead of hosting the game canvas itself. |
| ||
Hi, canīt see how the new mini-server could help me with my problem if I want to call php files. Isnīt there a way to use Apache server instead of mini-server? Have seen this line in the config file: HTML_PLAYER="${TRANSDIR}\mserver_winnt.exe" Is this line the key to use Apache server? Mfg Suco |