neomatrixcode/Merly.jl

CORS

Closed this issue · 1 comments

I tried using

server.use ("CORS")

but it is only working for GET requests,
CORS do not work with POST requests

@route GET "/get" begin
  "get this back: "
end

@route POST "/get" begin
  "get this back: "
end

Thanks for the report in future versions will be corrected