marckunze / rancor

Ranked Choice voting tool repo
https://rancor.herokuapp.com
Other
0 stars 0 forks source link

Load static jquery and normalize.css #54

Closed marckunze closed 9 years ago

marckunze commented 9 years ago

Both jquery and normalize.css are not loading when pushed to heroku. Error message below. The long term fix would be to implement proper asset management with Rakefiles, etc. (http://recipes.sinatrarb.com/p/asset_management/sinatra_assetpack) but for now adding a static version to the public directory with other js and css should get it working.

1:1 Mixed Content: The page at 'https://rancor-staging.herokuapp.com/poll/1' was loaded over HTTPS, but requested an insecure resource 'http://code.jquery.com/jquery-1.8.2.js'. This request has been blocked; the content must be served over HTTPS.

marckunze commented 9 years ago

Replaced with a static pair of jquery and normalize on latest commit (c54db19ba278f435d46fa761cc6bfaee8fbda214). Now needs to be fixed to proper asset management See #48 (sass and compass) and http://recipes.sinatrarb.com/p/asset_management/sinatra_assetpack

marckunze commented 9 years ago

Closing, replaced with #61 and #48