From f9bb90cab81e7c7f8c2a7e932bbf2ddbf7b51f1f Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 17 May 2022 18:50:49 +0000 Subject: auction search and fixes --- svelte.config.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'svelte.config.js') diff --git a/svelte.config.js b/svelte.config.js index 222cd8f..8d97638 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -45,10 +45,13 @@ const config = { server: process.env.REPL_ID || process.env.GITPOD_WORKSPACE_ID ? { - hmr: { - protocol: 'wss', - port: 3001, - }, + hmr: process.env.GITPOD_WORKSPACE_URL + ? { + host: process.env.GITPOD_WORKSPACE_URL.replace('https://', '3000-'), + protocol: "wss", + clientPort: 443 + } + : true } : {}, }, -- cgit