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 }