chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Remove innerHTML from the script to make it more secure

Open NabilaAhmedAdity opened this issue 1 year ago • 0 comments

Currently on setting Content-Security-Policy: require-trusted-types-for 'script'; in response header, it gives Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment..

NabilaAhmedAdity avatar Apr 11 '24 14:04 NabilaAhmedAdity