Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lblod/simple-cors-service
https://github.com/lblod/simple-cors-service
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lblod/simple-cors-service
- Owner: lblod
- License: mit
- Created: 2024-07-16T10:42:02.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-07-16T11:12:13.000Z (5 months ago)
- Last Synced: 2024-07-16T13:28:28.028Z (5 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# simple-cors-service
Simple CORS service experiment for dev purpose.
## How to
Add this to your docker-compose.dev.yml:
```yaml
cors:
image: lblod/simple-cors-service
```Add this to your dispatcher config:
```elixir
match "/communica/*path" do
forward conn, path, "http://cors/"
end
```## Usage
```
http://localhost/communica/?url=https://www.provincieantwerpen.be/content/dam/publicaties/open-data/provincieraad/2024/2024-01-25/pr_2024-01-25.html
```