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:
@@ -62,7 +62,7 @@ func New() *Implm {
|
||||
Api: apiConfig{
|
||||
Addr: "localhost:8080",
|
||||
Cors: corsConfig{
|
||||
AllowedOrigins: []string{"http://localhost:3000"},
|
||||
AllowedOrigins: []string{},
|
||||
},
|
||||
},
|
||||
Pg: pgConfig{
|
||||
|
||||
Reference in New Issue
Block a user