Prerender seems to expect real URLs because otherwise you won’t be able to serve cached html for ordinary people (the hash is not sent to the server).
When configuring a repeater, the router provides its use in history mode:
Router.run(routes, Router.HistoryLocation, function (Handler) {
On your server, you need to make sure that all routes that do not match the static file are served either by sending index.html or using prerender.
You can find "send all requests to index.html {insert server name here}" to find information about this.
Apparently, by default, prerender only applies in certain situations. Here is an example if you are using express.js middleware in node.js:
require('prerender-node').shouldShowPrerenderedPage = function(){ return true }
You should be able to find similar modifications for other middleware (it will require a plug in less flexible languages).
source share