csfloat / inspect

Source Code that Powers the CSFloat Inspect Link API
https://csgofloat.com
MIT License
455 stars 125 forks source link

CORS block for POST request #231

Open yur0n opened 3 months ago

yur0n commented 3 months ago

Describe the bug We have POST /bulk request endpoint, but OPTIONS and POST methods are absent in 'Access-Control-Allow-Methods'

Expected behavior Add OPTIONS and POST methods to 'Access-Control-Allow-Methods' if 'enable_bulk_inserts' is true

I guess there might be a reason for this limitation, but what?