herokuを用いたproduction環境でfullCalendarが動きません。
developerツールConsole 画面では次の様な記述が出てきます。
Mixed Content: The page at 'https://xxx.herokuapp.com' was loaded over HTTPS, but requested an insecure script 'http://fullcalendar.io/js/fullcalendar-2.1.1/lib/moment.min.js'. This request has been blocked; the content must be served over HTTPS.
とでてきます。LiveRoadの記事やstack overflowで似たようなエラーが出ている方の記事を参考にしたのですが上手く行きませんでした。Chromeの方でもスクリプトを許可しても動きません。
httpの参照先を読み込むことができれば表示できると思うのですが、どうしたらdevelopmentと同様にCalendarを動かすことができますか?
参考にしたurl
http://stackoverflow.com/questions/30452927/trying-to-push-rails-app-in-heroku-and-get-a-js-error
回答1件
あなたの回答
tips
プレビュー