Access to font at 'https://cdn.domain.com/assets/fonts/fontawesome-webfont.woff2?v=4.7.0' from origin 'https://domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Hi there is a problem with avatars and this extension. Everything else works perfect in loading js and css etc. But users are unable to upload avatars unless they enter the amazon s3 keys. Also the avatar is broken on display.
Is there any way I can manually disable avatars from this extension? and use the other features of the extension? I did try and contact you via the official phpbb website but moderators take years on that forum. Hope you can help.
Did not work. Just tried it, and it still loads the avatar from s3. I have disabled the extension now. I will load the the js and css manually by editing the core files instead.
robbie787 写了: ↑2019年9月16日 23:49
Did not work. Just tried it, and it still loads the avatar from s3. I have disabled the extension now. I will load the the js and css manually by editing the core files instead.
I am thinking about to separate these to different switches. Let user to make decision which part was load from CDN.
That would be wise. The avatar would never work under this extension because the aws credentials are required in order to upload to s3. If you are able to seperate avatar from the extension in the next update that would be very helpful.
When I do the test and on my setup of CDN with Amazon Cloudfront. I am using custom Origin, which is my own website. So I don't have to upload the files to S3.