Open stopachka opened 10 years ago
Hi everyone, boy am I happy to have found this gem!
I'm trying to fix the CORS issue on http://jobs.atlas-china.com . When I make a request --> ''' curl -i http://jobs.atlas-china.com/assets/bootstrap/glyphicons-halflings-regular-fcc658a3dec1be1cb0a9bb81f4c7c6de.woff HTTP/1.1 200 OK Accept-Ranges: bytes Cache-Control: max-age=315360000 Cache-Control: public Content-Type: font/x-woff Date: Mon, 26 May 2014 21:05:59 GMT Expires: Thu, 31 Dec 2037 23:55:55 GMT Last-Modified: Wed, 16 Apr 2014 06:51:18 GMT Server: nginx/1.4.7 Content-Length: 23320 Connection: keep-alive '''
I don't see the allow origin. Am I implementing incorrectly?
I tried putting the following in both my application.rb and production.rb
config.font_assets.origin = ENV['APP_URL']
You can take a look at the app code on
www.github.com/stopachka/a.app
Hi everyone, boy am I happy to have found this gem!
I'm trying to fix the CORS issue on http://jobs.atlas-china.com . When I make a request --> ''' curl -i http://jobs.atlas-china.com/assets/bootstrap/glyphicons-halflings-regular-fcc658a3dec1be1cb0a9bb81f4c7c6de.woff HTTP/1.1 200 OK Accept-Ranges: bytes Cache-Control: max-age=315360000 Cache-Control: public Content-Type: font/x-woff Date: Mon, 26 May 2014 21:05:59 GMT Expires: Thu, 31 Dec 2037 23:55:55 GMT Last-Modified: Wed, 16 Apr 2014 06:51:18 GMT Server: nginx/1.4.7 Content-Length: 23320 Connection: keep-alive '''
I don't see the allow origin. Am I implementing incorrectly?
I tried putting the following in both my application.rb and production.rb
config.font_assets.origin = ENV['APP_URL']
You can take a look at the app code on
www.github.com/stopachka/a.app