I'm using APIDoc to generate API documentation of my NodeJS app. I'm facing problem while serving generated index.html page:
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
Screenshot of the problem message here
How to solve this error ?
I've tried turning off security and sending script-src 'self'
in <meta>
of this html page.
All I need is a working form of this page.