-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'. #1506
Comments
This is a result of #1263 . You either can opt in to floc if you want to, or just ignore this. |
I am always of the opinion that a default browser warning is wrong. |
Then you may wan't to complain to Google for introducing this "feature" to begin with. ;) You can read more about it here and here I'm actually of the mindset that I LOVE that the Svelte team made it an "opt-in" feature, instead of the other way around. |
One way to address this is to edit your const config = {
// etc...
kit: {
// etc...
floc: process.env.NODE_ENV === "development",
},
}; IMO, I would only do that if developing using Brave browser. Brave has entirely disabled FLoC at the browser level 🤩. Otherwise development is essentially the same as Google Chrome. See also: brave/brave-browser#14942 (comment) |
Describe the bug
Warning in console:
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
To Reproduce
svelte-kit init
Information about your SvelteKit Installation:
Diagnostics
The output of
npx envinfo --system --npmPackages svelte,@sveltejs/kit,vite --binaries --browsers
:System:
OS: Windows 10 10.0.19042
Binaries:
Node: 14.17.0 - C:\Program Files\nodejs\node.EXE
npm: 7.13.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@sveltejs/kit: 1.0.0-next.108 => 1.0.0-next.108
svelte: 3.38.2 => 3.38.2
vite: 2.3.3 => 2.3.3
Your browser: Chrome 90
Your adapter (e.g. Node, static, Vercel, Begin, etc...): static
The text was updated successfully, but these errors were encountered: