From 3c831c0a6a00f2f9f3fc77b368573334d546e753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Kihlberg?= Date: Thu, 14 Dec 2023 16:42:46 +0100 Subject: [PATCH] fix small issue --- examples/js/poc-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/js/poc-helpers.js b/examples/js/poc-helpers.js index 6c879970..19c28a30 100644 --- a/examples/js/poc-helpers.js +++ b/examples/js/poc-helpers.js @@ -39,7 +39,7 @@ export function logJSON(message, json) { export function getRuntimeUrl() { const runtimeUrlInput = document.getElementById("runtimeUrl"); return ( - runtimeUrlInput.value || + (runtimeUrlInput && runtimeUrlInput.value) || "https://marlowe-runtime-preprod-web.demo.scdev.aws.iohkdev.io/" ); }