Skip to content

Commit

Permalink
[FindfeedAction.php] Use relative URL in Feed Link (RSS-Bridge#3820)
Browse files Browse the repository at this point in the history
The FindFeed action used absolute URL. This breaks the usage of RSS
Bridge behind a reverse proxy in a container.

Fixes RSS-Bridge#3801 for the Find Feed action
  • Loading branch information
sysadminstory authored Dec 8, 2023
1 parent deb9a72 commit c3d9383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/FindfeedAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function execute(array $request)
$bridgeParams['bridge'] = $bridgeClassName;
$bridgeParams['format'] = $format;
$content = [
'url' => get_home_page_url() . '?action=display&' . http_build_query($bridgeParams),
'url' => './?action=display&' . http_build_query($bridgeParams),
'bridgeParams' => $bridgeParams,
'bridgeData' => $bridgeData,
'bridgeMeta' => [
Expand Down

0 comments on commit c3d9383

Please sign in to comment.