<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akameco</author_name>
  <author_url>https://blog.hatena.ne.jp/akameco/</author_url>
  <blog_title>もはや芽は枯れた</blog_title>
  <blog_url>https://akameco.hatenablog.com/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>PerfectRailsのサンプルアプリをherokuにあげるとログイン前はhttpsが正しく動作しているが、ログインすると一部が暗号化されていないと出る。 これはomniauthでtwitterの画像のurlがhttpで取得しているからだ。 これをhttpsでurlを取得したい場合、config/initializer/omniauth.rbの設定にsecure_image_urlオプションを有効化してやる。 Rails.application.config.middleware.use OmniAuth::Builder do provider :twitter, Rails.applic…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakameco.hatenablog.com%2Fentry%2F2015%2F02%2F21%2F013822&quot; title=&quot;herokuでsslを有効にしてもhttpsにならないとき - もはや芽は枯れた&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/a/akameco/20150221/20150221013503.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-21 01:38:22</published>
  <title>herokuでsslを有効にしてもhttpsにならないとき</title>
  <type>rich</type>
  <url>https://akameco.hatenablog.com/entry/2015/02/21/013822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
