Skip to content

Commit

Permalink
rss: fixed link in invalid response
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan committed Sep 25, 2023
1 parent 66b3d9e commit 7bef7d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/RSS.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ public function recentAdds() {
}

public function emitError() {
$this->params['feeds'][] = 'invalid';
$this->params['feeds'][] = 'invalid';
}
}
2 changes: 1 addition & 1 deletion controllers/templates/default/rss/invalid.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% autoescape 'xml' %}
<channel>
<title>Invalid feed: {{ app.request.feed }}</title>
<link>{{ baseUrl }}</link>
<link>{{ app.baseUrl }}</link>
<description>Invalid feed: {{ app.request.feed }}</description>
</channel>
{% endautoescape %}

0 comments on commit 7bef7d5

Please sign in to comment.