use gin-contrib/cors middleware
Showing
| ... | ... | @@ -19,6 +19,7 @@ require ( |
| github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect | ||
| github.com/chzyer/readline v1.5.1 | ||
| github.com/gabriel-vasile/mimetype v1.4.2 // indirect | ||
| github.com/gin-contrib/cors v1.4.0 | ||
| github.com/gin-contrib/sse v0.1.0 // indirect | ||
| github.com/go-playground/locales v0.14.1 // indirect | ||
| github.com/go-playground/universal-translator v0.18.1 // indirect | ||
| ... | ... |
Please register or sign in to comment