diff options
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |