summaryrefslogtreecommitdiffstats
path: root/html/src/index.tsx
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-23 08:44:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-23 08:45:08 +0000
commit60ef06ac51c8e5fab1c4d19f14d95f3f004a4333 (patch)
tree91b176a8d7d7730f9fd95413ea881095f9da9e23 /html/src/index.tsx
parentReleasing debian version 1.7.2-1. (diff)
downloadttyd-60ef06ac51c8e5fab1c4d19f14d95f3f004a4333.tar.xz
ttyd-60ef06ac51c8e5fab1c4d19f14d95f3f004a4333.zip
Merging upstream version 1.7.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'html/src/index.tsx')
-rw-r--r--html/src/index.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/html/src/index.tsx b/html/src/index.tsx
index 185872c..738fcd5 100644
--- a/html/src/index.tsx
+++ b/html/src/index.tsx
@@ -1,3 +1,6 @@
+if (process.env.NODE_ENV === 'development') {
+ require('preact/debug');
+}
import 'whatwg-fetch';
import { h, render } from 'preact';
import { App } from './components/app';