Change below to get origin addresses from config, either database or config file. policy.WithOrigins("https://microbrew.it","http://microbrew.it", "http://localhost:3000", "http://calc.asphaug.io");