fix http prefix request prob.

This commit is contained in:
thomaschen 2014-02-13 11:00:18 +08:00
parent 1cf178b02d
commit 0d86921a02
1 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ class Panel::Feed::BackEnd::FeedsController < OrbitBackendController
body = { body = {
'link' => feed.link, 'link' => feed.link,
'name' => feed.name, 'name' => feed.name,
'from_host' => env["HTTP_ORIGIN"], 'from_host' => env["HTTP_ORIGIN"].sub("http://",""),
'categories' => categories 'categories' => categories
} }