From 30d6c6890871fc06941b3a6f9df84d4e340db440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Thu, 1 Jul 2021 11:34:22 +0200 Subject: [PATCH] Fix writing supervisor entrypoint (#9489) --- build-scripts/gulp/entry-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/gulp/entry-html.js b/build-scripts/gulp/entry-html.js index c98b6d6acb..8627d61713 100644 --- a/build-scripts/gulp/entry-html.js +++ b/build-scripts/gulp/entry-html.js @@ -311,7 +311,7 @@ function loadES5() { el.src = '${es5Entrypoint}'; document.body.appendChild(el); } -if (/.*Version\/(?:11|12)(?:\.\d+)*.*Safari\//.test(navigator.userAgent)) { +if (/.*Version\\/(?:11|12)(?:\\.\\d+)*.*Safari\\//.test(navigator.userAgent)) { loadES5(); } else { try {