Unexpected identifier ‘https’ with jet-reviews
-
Hi
I am facing an issue whenever I turn on CDN AWS cloudfront with the plugin called ‘Jet-reviews’
VM3087:2 Uncaught SyntaxError: Unexpected identifier ‘https’
at HTMLDivElement. (jet-reviews-frontend.js?x76948&ver=2.3.4:39:27)
at Function.each (jquery.min.js?x76948&ver=3.7.1:2:3129)
at e..each (jquery.min.js?x76948&ver=3.7.1:2:1594)
at Object.initInstances (jet-reviews-frontend.js?x76948&ver=2.3.4:29:18)
at Object.init (jet-reviews-frontend.js?x76948&ver=2.3.4:15:9)
at jet-reviews-frontend.js?x76948&ver=2.3.4:1688:13
at jet-reviews-frontend.js?x76948&ver=2.3.4:1690:2the moment I turn off CDN, the issue is gone.
I tried to exclude the plugin being loaded from the aws cloud front by doing like {plugins_dir}/jet-reviews/*.* and i confirmed it’s loading from the server directly, still the issue persists.
Any idea how to resolve this?
Thank you
- You must be logged in to reply to this topic.