https://github.com/arangamani/goa-cors-override
https://github.com/arangamani/goa-cors-override
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arangamani/goa-cors-override
- Owner: arangamani
- Created: 2021-05-18T19:02:38.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-19T00:51:33.000Z (about 4 years ago)
- Last Synced: 2025-01-07T22:15:12.913Z (4 months ago)
- Language: Go
- Size: 10.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Goa CORS Override
This is a simple example that demonstrates how to override Goa's built-in CORS handler.
There may be cases where it is necessary to have some methods that use HTTP OPTIONS verb and since CORS handler by default mounts on all methods, we need to route the request based on the presence of the Origin header.