-
I'm locking down an application with a route filter that sets a restrictive Content-Security-Policy (CSP) of default-src: self. As a side effect both the DevUI and the SwaggerUI won't load due to CSP violations. I wonder what settings are actually needed for DevUI and Swagger? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
/cc @MikeEdgar (swagger-ui), @cescoffier (devui), @phillip-kruger (devui,swagger-ui) |
Beta Was this translation helpful? Give feedback.
-
To answer my own question....
Works for both the devUI and Swagger UI. |
Beta Was this translation helpful? Give feedback.
To answer my own question....
You need this CSP:
Works for both the devUI and Swagger UI.