server: implement CORS

This commit is contained in:
2026-06-03 00:59:28 +00:00
parent b379b7a5af
commit 92ddff0917
4 changed files with 16 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ require (
require (
github.com/ajg/form v1.5.1 // indirect
github.com/go-chi/cors v1.2.2 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect