We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aa051a commit cc5283eCopy full SHA for cc5283e
packages/overmind-website/backend/index.js
@@ -106,9 +106,11 @@ const searchData = getSearchData()
106
const googleCrawlMiddleware = async function ssr(req, res, next) {
107
const url = req.protocol + '://' + req.hostname + req.path
108
109
+ console.log(req.get('user-agent'))
110
+ console.log(req.get('User-Agent'))
111
if (
112
req
- .get('user-agent')
113
+ .get('User-Agent')
114
.toLowerCase()
115
.indexOf('googlebot') >= 0 &&
116
!path.extname(url)
0 commit comments