ing
This commit is contained in:
parent
044bb80933
commit
2a40c39f08
|
@ -10,7 +10,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
c := cors_fasthttp.New(ctx, cors_fasthttp.CorsOptions{})
|
c := cors_fasthttp.AllowAll(ctx)
|
||||||
|
|
||||||
fasthttp.ListenAndServe(":8080", c.Handler(Handler))
|
fasthttp.ListenAndServe(":8080", c.Handler(Handler))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user