Allow tracking from old Discord domain in the app (discordapp.com)

This commit is contained in:
chylex committed 2021-09-14 02:03:08 +02:00
1 parent 9f506aceb2
commit c2e302f8bb
1 file changed
+1 -1
+1 -1
View File
@@ -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();
});
});
}