mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 06:13:27 +00:00
FIX: Route to .rss
or .json
as a server side URL
This commit is contained in:
parent
a69b897545
commit
f0937dc5d3
@ -8,7 +8,8 @@ const TOPIC_REGEXP = /\/t\/([^\/]+)\/(\d+)\/?(\d+)?/;
|
||||
// We can add links here that have server side responses but not client side.
|
||||
const SERVER_SIDE_ONLY = [
|
||||
/^\/posts\/\d+\/raw/,
|
||||
/^\/posts\.rss/
|
||||
/\.rss$/,
|
||||
/\.json/,
|
||||
];
|
||||
|
||||
let _jumpScheduled = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user