helmetjs / feature-policy

Middleware for setting the Feature-Policy HTTP response header

Home Page:https://helmetjs.github.io/docs/feature-policy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disallow duplicates

EvanHahn opened this issue · comments

For example, this should fail:

featurePolicy({
  vibrate: ['example.com', 'example.com']
})

This is a breaking change.