From 1cf178b02d1f7efbf0bbb1d3bd9e7f8c70999942 Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Wed, 12 Feb 2014 17:55:08 +0800 Subject: [PATCH] fix last commit --- app/controllers/panel/feed/back_end/feeds_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/panel/feed/back_end/feeds_controller.rb b/app/controllers/panel/feed/back_end/feeds_controller.rb index 1aca18b..e2f1f73 100644 --- a/app/controllers/panel/feed/back_end/feeds_controller.rb +++ b/app/controllers/panel/feed/back_end/feeds_controller.rb @@ -122,7 +122,7 @@ class Panel::Feed::BackEnd::FeedsController < OrbitBackendController body = { 'link' => feed.link, 'name' => feed.name, - 'from_host' => env["REMOTE_HOST"], + 'from_host' => env["HTTP_ORIGIN"], 'categories' => categories }