hey @Vapi Team vapi bot is calling
# general-english
f
hey @User vapi bot is calling properlly on locally but when i am try to have call on deployed version i am getting this error and not able to connect. Need proper assistance, as i dont want to allow unsafe-eval. index-DYXc4f9J.js:1134 Failed to load call object bundle https://c.daily.co/call-machine/versioned/0.79.0/static/call-machine-object-bundle.js: 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: "default-src 'self' 'unsafe-inline' *.travel4every1.world *.auth0.com *.vo.msecnd.net https://js.monitor.azure.com https://dc.services.visualstudio.com https://vortex.data.microsoft.com *.googleapis.com *.gstatic.com *.youtube.com *.vimeo.com *.vapi.ai *.daily.co *.sentry.io data: blob:". index-DYXc4f9J.js:1134 Failed to load call object bundle https://c.daily.co/call-machine/versioned/0.79.0/static/call-machine-object-bundle.js: 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: "default-src 'self' 'unsafe-inline' *.travel4every1.world *.auth0.com *.vo.msecnd.net https://js.monitor.azure.com https://dc.services.visualstudio.com https://vortex.data.microsoft.com *.googleapis.com *.gstatic.com *.youtube.com *.vimeo.com *.vapi.ai *.daily.co *.sentry.io data: blob:". https://cdn.discordapp.com/attachments/1211484481848873020/1382825566780133527/message.txt?ex=684c902a&is=684b3eaa&hm=b07d4bca7a650078d0220739bc2fbe2dd61d0a73c54583b08f44ff31d27f63c1&
s
cc: @Kings_big💫
k
Upgrade to daily-js v0.27.0 or later, initialize the call object with { dailyConfig: { avoidEval: true } }, and update your CSP to allow scripts from daily.co instead of using 'unsafe-eval'..
2 Views