Anton Wijbenga
Anton Wijbenga
> ```r > #' @filter cors > cors > res$setHeader("Access-Control-Allow-Origin", "*") > > if (req$REQUEST_METHOD == "OPTIONS") { > res$setHeader("Access-Control-Allow-Methods","*") > res$setHeader("Access-Control-Allow-Headers", req$HTTP_ACCESS_CONTROL_REQUEST_HEADERS) > res$status return(list()) > } else {...
So.... because the header in the response to the client (browser side) is altered/set by the server (plumber side), the client, based on that 'new' header in the response resends...
Thanks meztez for pointing me in the right direction. I did inspect the browser debugger en saw that it it indeed sends two API calls when using the javascript 'fetch'...
Are issues with lines becoming circles or other erratic shapes solved in this version? The issues are discussed in the issue list of the bbecquet repository. For example here: [https://github.com/bbecquet/Leaflet.PolylineOffset/issues/1](https://github.com/bbecquet/Leaflet.PolylineOffset/issues/1)...
I have previously encoutered the error as well and today again. I suspect the .fst file becomes corrupt during a 'forced' system reboot on a Windows machine (which is a...
Thank you for the tip. However, the ability to read only certain rows or columns is one of the main reasons I use the fst package. I have matrices with...