Skip to content

Commit

Permalink
Merge branch 'release/2.0' into jimothy/gh-434_remove-old-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jcalcaben committed Nov 15, 2018
2 parents 0292af5 + 83fcd76 commit ed1de17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.0-rc.9",
"version": "2.0.0-rc.10",
"packages": [
"packages/peregrine",
"packages/pwa-buildpack",
Expand Down
2 changes: 1 addition & 1 deletion packages/venia-concept/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "2.0.0-rc.9",
"version": "2.0.0-rc.10",
"description": "Venia PWA Concept Storefront for Magento 2",
"license": "(OSL-3.0 OR AFL-3.0)",
"author": "Magento Commerce",
Expand Down
6 changes: 3 additions & 3 deletions packages/venia-concept/server.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;
const validEnv = require('./validate-environment')(process.env);
const {
Utilities: { configureHost }
} = require('@magento/pwa-buildpack');
const { createUpwardServer, envToConfig } = require('@magento/upward-js');

async function serve() {
Expand Down Expand Up @@ -36,6 +33,9 @@ async function serve() {

if (!config.host) {
try {
const {
Utilities: { configureHost }
} = require('@magento/pwa-buildpack');
const { hostname, ports, ssl } = await configureHost({
interactive: false,
subdomain: validEnv.MAGENTO_BUILDPACK_SECURE_HOST_SUBDOMAIN,
Expand Down

0 comments on commit ed1de17

Please sign in to comment.