Dr. Kibitz
Dr. Kibitz
Yep that was it, do you want a pull request for a one line fix? Just change this line https://github.com/matthewswallace/openfl-tilelayer/blob/master/haxelib/aze/display/TileLayer.hx#L93 to: ``` #if (flash||js||neko) ```
I'm curious of the difference with Apache vs NGINX, I'm assuming you were using mod_rewrite with Apache, and if so what were did the rules look like? The reason of...
Hmm, just from looking I can't really see anything wrong, but I would make a suggestion, if you can, to var_dump/print_r everything from `$_SERVER` to see what you get as...
I think I need more time to look into this, but I'm leaning toward this being the (start of the) culprit. First this: https://github.com/peej/tonic/blob/3a005075052b4129213aa55f4cf48d263faa8661/src/Tonic/Request.php#L187-L191 Then this: https://github.com/peej/tonic/blob/3a005075052b4129213aa55f4cf48d263faa8661/src/Tonic/Application.php#L31 - For Apache,...
This isn't a problem with tonic, you are making a POST request, which requires you to also set the Access-Control-Allow-Methods: [, ]* The W3C spec defines POST as a "simple"...
Sorry I ready that wrong, but it makes more sense now. You are allowing only the "POST" method with: ``` Access-Control-Allow-Methods: POST ``` but are making an "OPTIONS" request: ```...
Actually sorry, now I'm even confusing myself, `Access-Control-Request-Method: POST` is in your request not response. But your request is using the `OPTIONS` method. Looks like something going on in your...
@beoss I like those changes, and I don't mean to speak for @peej, but it would be great if you got some unit tests behind them.
Here is an example file, reformatted for readability https://gist.github.com/drkibitz/6046241
Something like: ``` php public function save($resources) { return file_put_contents($this->filename, '