You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than applying this configuration globally I would like to configure the blankie plugin at the route level so the content security policy is defined as strictly as possible
This would not only enable my specific use case about control route specific plugins but would also allow any other customization of the route configuration that users of this plugin may desire.
The text was updated successfully, but these errors were encountered:
For security reasons, I would like the swagger ui to include a content security policy. To do this we can use a hapi plugin called blankie.
The following is a plugin configuration and is applied globally to all routes
Rather than applying this configuration globally I would like to configure the blankie plugin at the route level so the content security policy is defined as strictly as possible
This is achievable in the hapi ecosystem by the plugins route option
it would be ideal if the hapi-swaggered-ui plugin options exposed a mechanism to control the route options
for example
This would not only enable my specific use case about control route specific plugins but would also allow any other customization of the route configuration that users of this plugin may desire.
The text was updated successfully, but these errors were encountered: