add https support for development CORS

This commit is contained in:
Jacob Overgaard
2023-04-03 14:58:37 +02:00
parent b981f53254
commit dbbfc0c69e

View File

@@ -56,7 +56,7 @@ namespace Umbraco.Cms.Web.UI
u.AllowCredentials();
u.AllowAnyMethod();
u.AllowAnyHeader();
u.WithOrigins(new[] { "http://127.0.0.1:5173", "http://localhost:5173" });
u.WithOrigins(new[] { "http://127.0.0.1:5173", "http://localhost:5173", "https://127.0.0.1:5173", "https://localhost:5173" });
});
}
#if (UseHttpsRedirect)