From c2e302f8bbd7115616fc7de39a859a6dea45b8cf Mon Sep 17 00:00:00 2001 From: chylex Date: Tue, 14 Sep 2021 01:59:39 +0200 Subject: [PATCH] Allow tracking from old Discord domain in the app (discordapp.com) --- app/Server/Service/ServerStartup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Server/Service/ServerStartup.cs b/app/Server/Service/ServerStartup.cs index c68efa2..4adc7d0 100644 --- a/app/Server/Service/ServerStartup.cs +++ b/app/Server/Service/ServerStartup.cs @@ -16,7 +16,7 @@ namespace DHT.Server.Service { services.AddCors(cors => { cors.AddDefaultPolicy(builder => { - builder.WithOrigins("https://discord.com").AllowCredentials().AllowAnyMethod().AllowAnyHeader(); + builder.WithOrigins("https://discord.com", "https://discordapp.com").AllowCredentials().AllowAnyMethod().AllowAnyHeader(); }); }); }