fix http prefix request prob.
This commit is contained in:
parent
1cf178b02d
commit
0d86921a02
|
@ -122,7 +122,7 @@ class Panel::Feed::BackEnd::FeedsController < OrbitBackendController
|
|||
body = {
|
||||
'link' => feed.link,
|
||||
'name' => feed.name,
|
||||
'from_host' => env["HTTP_ORIGIN"],
|
||||
'from_host' => env["HTTP_ORIGIN"].sub("http://",""),
|
||||
'categories' => categories
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue