Lacks the 'allow-same-origin'

Is there way to add the ‘allow-same-origin’ flag into sandboxed in an iframe tag?
I’m writing iframe code for customcomponent but there is a javascript error below.

Uncaught DOMException: Failed to read the 'caches' property from 'Window': Cache storage is disabled because the context is sandboxed and lacks the 'allow-same-origin' flag.
1 Like

Hi @daiki-rokuyama :wave:

Happy to help here :smile: when selecting your customComponent, in the right hand inspection pane, you can set whether you'd like to allow-same-origin: