Remove CORS configuration by default

Since the frontend is embded it's not needed to have CORS by default.

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-03-09 15:32:17 +01:00
parent 6ca70e4d73
commit 3bd4762e12

View File

@@ -62,7 +62,7 @@ func New() *Implm {
Api: apiConfig{
Addr: "localhost:8080",
Cors: corsConfig{
AllowedOrigins: []string{"http://localhost:3000"},
AllowedOrigins: []string{},
},
},
Pg: pgConfig{