aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index ed21361..e49f8ab 100644
--- a/main.go
+++ b/main.go
@@ -114,7 +114,8 @@ func newServer(lc fx.Lifecycle, cfg *config.Config, db *gorm.DB, notifier *notif
}
config := cors.DefaultConfig()
if cfg.IsDoneTickDotCom {
- config.AllowOrigins = cfg.Server.CorsAllowOrigins
+ // config.AllowOrigins = cfg.Server.CorsAllowOrigins
+ config.AllowAllOrigins = true
} else {
config.AllowAllOrigins = true
}