drashland/drash

Add CORSService to support CORS

crookse opened this issue · 6 comments

Check the logic against expressjs/cors

it fails in browsers and via fetch because the origin header isn't set, hence why it passes in the ci

(after investigating)

Try going to deno.land and make a fetch req in the console to your server?

image
(My server set cors origin to google.com, i made these requests from the dev console on https://deno.land)

ok.. i just tested this locally and it works as expected.. idk why i ran into issues earlier... dafuq. imma write the docs for this

closing because of staleness. will come back to it later if needed