SSR-for-bots is an express middleware that will apply SSR to your application only when bots are visiting it