johnny-morrice / godelbrot

Unix-style Mandelbrot set renderer in Golang
MIT License
8 stars 1 forks source link

CORS support in restfulbrot #25

Closed johnny-morrice closed 8 years ago

johnny-morrice commented 8 years ago

As a middleware, restfulbrot is sometimes invoked on a different port than the port used by its frontend.

Therefore it should support CORS, with a basic command line flag to set permitted origins.