分页: 2 / 2

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年1月23日 13:10
olalavui
I have console error:

代码: 全选

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.
Can you help me?

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年1月23日 17:50
davidyin
You should use your own CDN provider. Enter the URL of your CDN into the Admin Simple CDN page.

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年9月15日 01:34
robbie787
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.

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年9月15日 14:28
davidyin
You can choose to disable File CDN which is the last option.

At this point. Ony the theme-related static files will be supplied through CDN.

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年9月16日 23:49
robbie787
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.

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年9月17日 12:57
davidyin
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.

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年9月17日 20:44
robbie787
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.

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

发表于 : 2019年9月18日 03:32
davidyin
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.