cookbook cors CORS Recipe Server using a list of allowed origins server.go Server using a custom function to allow origins server.go Source Code