Skip to content

NDK unsafe-eval #1984

Open
Open
@huumn

Description

@huumn

I'm seeing this in my logs as my zaps fail:

logger.js:32 [nwc] ↗ payment sent: 100 sats
bake-collection.js:65 Uncaught (in promise) 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' a.stacker.news 'unsafe-inline' 'wasm-unsafe-eval' 'nonce-N2NiODg0MjgtN2U0Yi00YmRlLThiZDQtMDc4NWE0YmJlMTRj' 'strict-dynamic' https:".

    at bakeCollection (bake-collection.js:65:1)
    at Object.f (task-collection.js:191:1)
    at Object.h [as call] (task-collection.js:202:1)
    at nt.s [as emit] (ee.js:22:1)
    at nt.stop (index.mjs:3286:1)
    at Object.<anonymous> (index.mjs:5979:1)
bakeCollection @ bake-collection.js:65
f @ task-collection.js:191
h @ task-collection.js:202
s @ ee.js:22
stop @ index.mjs:3286
(anonymous) @ index.mjs:5979
await in (anonymous)
s @ ee.js:22
eventReceived @ index.mjs:3368
onevent @ index.mjs:1347
onMessage @ index.mjs:641

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions