Add cors headers (#85)

* disable EnableAuthOnOptions

* Setup basic cors headers

* feature: user cors lib
This commit is contained in:
Maycon Santos
2021-08-16 11:29:57 +02:00
committed by GitHub
parent 877ad97a96
commit 38e3c9c062
6 changed files with 32 additions and 13 deletions

1
go.mod
View File

@@ -11,6 +11,7 @@ require (
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.13.0
github.com/pion/ice/v2 v2.1.7
github.com/rs/cors v1.8.0
github.com/sirupsen/logrus v1.7.0
github.com/spf13/cobra v1.1.3
github.com/vishvananda/netlink v1.1.0