I'm trying to make a swagger doc on my API. Unfortunately, when I try to execute the request from the interface, nothing happen and I got a console error message.
I think this is due to helmet parameters, though I can't figure it out.
I have crawled the internet to find something, but even when I specify app.use( helmet({ contentSecurityPolicy: false, }) ); I still got the error.
Hello everyone,
I'm trying to make a swagger doc on my API. Unfortunately, when I try to execute the request from the interface, nothing happen and I got a console error message.
I think this is due to helmet parameters, though I can't figure it out.
I have crawled the internet to find something, but even when I specify
app.use( helmet({ contentSecurityPolicy: false, }) );
I still got the error.