@quintype/framework 7.7.5 → 7.7.6-prerender-query-param.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/server/routes.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.7.5",
3
+ "version": "7.7.6-prerender-query-param.2",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -34,7 +34,7 @@
34
34
  "@quintype/amp": "^2.4.26",
35
35
  "@quintype/backend": "^2.3.1",
36
36
  "@quintype/components": "^3.0.0",
37
- "@quintype/prerender-node": "^3.2.24",
37
+ "@quintype/prerender-node": "^3.2.26",
38
38
  "@quintype/seo": "^1.39.0",
39
39
  "atob": "^2.1.2",
40
40
  "babel-plugin-react-css-modules": "^5.2.6",
package/server/routes.js CHANGED
@@ -347,6 +347,7 @@ exports.isomorphicRoutes = function isomorphicRoutes(
347
347
  if (req.query.prerender) {
348
348
  try {
349
349
  // eslint-disable-next-line global-require
350
+ prerender.set("protocol", "https");
350
351
  prerender.set("prerenderServiceUrl", prerenderServiceUrl)(req, res, next);
351
352
  } catch (e) {
352
353
  logError(e);