Add: cors for external controller

This commit is contained in:
Dreamacro
2018-07-19 09:31:53 +08:00
parent d540a0d29f
commit 7357d2d0c2
3 changed files with 26 additions and 6 deletions

View File

@ -29,6 +29,10 @@
name = "github.com/go-chi/chi"
version = "3.3.2"
[[constraint]]
name = "github.com/go-chi/cors"
version = "1.0.0"
[[constraint]]
name = "github.com/go-chi/render"
version = "1.0.1"
@ -51,7 +55,7 @@
[[constraint]]
name = "gopkg.in/ini.v1"
version = "1.37.0"
version = "1.38.1"
[prune]
go-tests = true