sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

Fixing CORS headers #6

Closed leifg closed 11 years ago

leifg commented 11 years ago

in order to get CORS working correctly, the headers must be set in every response (not just OPTIONS)

sideshowcoder commented 11 years ago

Merged by hand and extended to be more configurable, please check back if it works as expected now