diff --git a/Kyoo/Startup.cs b/Kyoo/Startup.cs index 3ff8a558..0c0e3131 100644 --- a/Kyoo/Startup.cs +++ b/Kyoo/Startup.cs @@ -110,7 +110,7 @@ namespace Kyoo services.AddSingleton(new DefaultCorsPolicyService(_loggerFactory.CreateLogger()) { - AllowedOrigins = { new Uri(publicUrl).Authority } + AllowedOrigins = { new Uri(publicUrl).GetLeftPart(UriPartial.Authority) } }); services.AddScoped();