Skip to content
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

Local & Production Issues #3

Open
AugmentBLU opened this issue Mar 4, 2017 · 2 comments
Open

Local & Production Issues #3

AugmentBLU opened this issue Mar 4, 2017 · 2 comments

Comments

@AugmentBLU
Copy link

AugmentBLU commented Mar 4, 2017

Hello,

I have some font files hosted on Rackspace CDN and I'm getting the CORS warning so I found your plugin.

Locally it doesn't seem to work, I still get the blocked warning and fonts are being pulled through.

On production, I can't even sent any origins due to an error. When I click Add new item

"" on line 882 of /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php

Any idea what could be the issue with either?

Thanks

I just noticed that when I go to CMS and click on a page to update the same error on line 882 appears.

@tobias-kuendig
Copy link
Member

What code is on line 882? This looks like a problem with your setup not the plugin.

Concerning the CORS problem: Since the fonts are hosted on Rackspace you'll have to add your CORS headers there, not on your server/CMS.

@AugmentBLU
Copy link
Author

Yeah you're right about the Rackspace settings - I did actually have these on but still had the issue. I realised some fonts had a version parameter on them ?v= and it seemed to mess with things. That side works now.

For the 882 error - this isn't something I've looked in to as yet, just wondered if you knew what it was or related to the plugin. I have my site deployed on Laravel Forge, that's the only difference between my local setup and production. I will dig deeper and see why it's not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants