add cors policy

This commit is contained in:
2025-03-20 10:04:21 +07:00
parent f6a2cf3a5b
commit cdfd8da59d
3 changed files with 10 additions and 0 deletions

1
go.mod
View File

@@ -5,6 +5,7 @@ go 1.23.1
require (
github.com/a-h/templ v0.3.833
github.com/coder/websocket v1.8.12
github.com/gin-contrib/cors v1.7.4
github.com/gin-gonic/gin v1.10.0
github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1