将 chrome 更新到版本 88.0.4324.104 后,从控制台窗口出现以下错误
Error with Permissions-Policy header: Parse of permission policy failed because of errors reported by strctured header parser.
从 ASP.NET Core 3.1 和 Aurelia SPA 开发的应用程序。尝试将以下中间件添加到后端
app.Use(async (context, next) =>
{
context.Response.Headers.Add("Permission-Policy", "geolocation 'none';midi 'none';notifications 'none';push 'none';sync-xhr 'none';microphone 'none';camera 'none';magnetometer 'none';gyroscope 'none';speaker 'self';vibrate 'none';fullscreen 'self';payment 'none';");
await next();
});
但仍然收到控制台错误。