Files
geo/server/internal/shared/middleware/cors.go
T

10 lines
143 B
Go
Raw Normal View History

package middleware
import (
"github.com/gin-gonic/gin"
)
func CORS() gin.HandlerFunc {
2026-05-14 11:05:20 +08:00
return CORSWithConfig(CORSConfig{AllowAll: true})
}