From 7027b2cbd8de580b0ce9fdd425fec4fd969e2a1c Mon Sep 17 00:00:00 2001 From: Hugues Tennier Date: Fri, 12 Oct 2018 10:27:45 -0400 Subject: [PATCH 1/2] Add https to socket --- packages/slate-tools/tools/dev-server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/slate-tools/tools/dev-server/index.js b/packages/slate-tools/tools/dev-server/index.js index fca2b431a..5cc2f4fa5 100644 --- a/packages/slate-tools/tools/dev-server/index.js +++ b/packages/slate-tools/tools/dev-server/index.js @@ -32,7 +32,7 @@ class DevServer { https: {key: getSSLKeyPath(), cert: getSSLCertPath()}, logLevel: 'silent', socket: { - domain: `${this.domain}:${this.port}`, + domain: `https://${this.domain}:${this.port}`, }, ui: { port: this.uiPort, From 5832cf9ff82e629e1e756dca3eb94f2c02cc92bc Mon Sep 17 00:00:00 2001 From: Hugues Tennier Date: Fri, 12 Oct 2018 11:12:15 -0400 Subject: [PATCH 2/2] Remove local ui --- packages/slate-tools/cli/commands/start.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/slate-tools/cli/commands/start.js b/packages/slate-tools/cli/commands/start.js index 474ff5c9f..30601f4f7 100644 --- a/packages/slate-tools/cli/commands/start.js +++ b/packages/slate-tools/cli/commands/start.js @@ -235,7 +235,6 @@ async function onClientAfterSync() { console.log(); console.log(` The Browsersync control panel is available at:\n`); - console.log(` ${chalk.cyan(urls.get('ui'))} ${chalk.grey('(Local)')}`); if (devServer.domain !== 'localhost') { console.log(