How to add external script? #828
Unanswered
RidgewellServices
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Unless you changed the CSP the nonce errors should just be warnings and things should work fine. But yeah you don't want to have those in there. You'll need to pass a Lines 183 to 184 in bd837f4 <script> though. You can access the nonce in any component using the useNonce hook: https://github.com/epicweb-dev/epic-stack/blob/main/app/utils/nonce-provider.ts#L5
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been struggling to add an external script to my project. I've tried two different platforms--mailer-lite and substack. The scripts are meant to open a newsletter signup form. I can't get past the CSP nonce errors. Is it possible to do this?
Beta Was this translation helpful? Give feedback.
All reactions