lasp / hapi-server

A HAPI server built on LaTiS
Apache License 2.0
1 stars 1 forks source link

Configure CORS #18

Closed lindholc closed 6 years ago

lindholc commented 6 years ago

The HAPI spec strongly recommends configuring CORS. http4s has middleware for CORS that makes this pretty easy to do.

These settings ought to reflect what's suggested in the spec. Essentially, we'll be accepting GET requests from anyone.

Resolves #13.