-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got an issue with Content Security Policy (CSP) #8
Comments
I'll see what I can do about this. |
Hi @keeratita I just bump a new release 1.1.6. Please have a test with below code to see whether it's being fixed. - import { heicTo } from "heic-to"
+ import { heicTo } from "csp/heic-to" |
hi @hoppergee Thanks a lot for your prompt response. |
hi @hoppergee works! thanks a lot for your help 🙇🏻 |
FYI, i have to import like this.
i can't use |
hi @hoppergee Sorry, one more question about the usage of this library. Could I use it as a part of a functionalities in the commercial application to preview a HEIC file on the browser? |
@hoppergee the best! thanks |
Hi,
I've got an issue about CSP when the security team doesn't allow to use unsafe-eval.
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
Is it possible that the future release will kindly consider this one as well?
Thanks in advance 🙏🏻
The text was updated successfully, but these errors were encountered: