FIX: Route to .rss or .json as a server side URL

This commit is contained in:
Robin Ward 2016-09-28 10:36:56 -04:00
parent a69b897545
commit f0937dc5d3

View File

@ -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;