From 6b523563d804d48be260399fe45e30c394e07065 Mon Sep 17 00:00:00 2001
From: David Luzar <5153846+dwelle@users.noreply.github.com>
Date: Thu, 28 Mar 2024 14:58:47 +0100
Subject: [PATCH] fix: ejs support in html files (#7822)
---
excalidraw-app/index.html | 8 +-
excalidraw-app/package.json | 4 +-
excalidraw-app/vite.config.mts | 4 +
yarn.lock | 243 +++++++++++++++++++++++++++++++--
4 files changed, 240 insertions(+), 19 deletions(-)
diff --git a/excalidraw-app/index.html b/excalidraw-app/index.html
index 66f3afdab4..2e1fa1adbe 100644
--- a/excalidraw-app/index.html
+++ b/excalidraw-app/index.html
@@ -78,7 +78,7 @@
}
- <% if ("%PROD%" === "true") { %>
+ <% if (typeof PROD != 'undefined' && PROD == true) { %>
- <% if ("%VITE_APP_DEV_DISABLE_LIVE_RELOAD%" !== 'true') { %>
+ <% if (typeof VITE_APP_DEV_DISABLE_LIVE_RELOAD != 'undefined' &&
+ VITE_APP_DEV_DISABLE_LIVE_RELOAD != true) { %>