2016-10-20 20:30:53 +02:00
|
|
|
+++
|
2016-11-17 08:46:00 +02:00
|
|
|
title = "CORS Example"
|
|
|
|
description = "CORS example for Echo"
|
2016-11-21 00:16:22 +02:00
|
|
|
[menu.main]
|
2016-10-20 20:30:53 +02:00
|
|
|
name = "CORS"
|
2016-11-29 06:30:42 +02:00
|
|
|
identifier = "middleware-cors"
|
2016-10-20 20:30:53 +02:00
|
|
|
parent = "recipes"
|
|
|
|
weight = 3
|
|
|
|
+++
|
|
|
|
|
2016-11-17 08:46:00 +02:00
|
|
|
## Server
|
2016-10-20 20:30:53 +02:00
|
|
|
|
|
|
|
`server.go`
|
|
|
|
|
|
|
|
{{< embed "cors/server.go" >}}
|
|
|
|
|
2016-11-17 09:05:37 +02:00
|
|
|
## [Source Code]({{< source "cors" >}})
|
|
|
|
|
2016-11-17 08:46:00 +02:00
|
|
|
## Maintainers
|
2016-10-20 20:30:53 +02:00
|
|
|
|
|
|
|
- [vishr](https://github.com/vishr)
|