aboutsummaryrefslogtreecommitdiff
path: root/hsm-web/Client/src/config.js
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-01-03 00:26:51 +0000
committerPaul Oliver <contact@pauloliver.dev>2026-01-03 03:42:43 +0000
commit864a1d2a22580a33b5e928734fd256c2133fb672 (patch)
treef164047133c293ae768112a6aad7eaab5df53401 /hsm-web/Client/src/config.js
parentf7f11acafe0a404fa218c13832e32fce574ae0f6 (diff)
Adds camera streaming to frontend
Diffstat (limited to 'hsm-web/Client/src/config.js')
-rw-r--r--hsm-web/Client/src/config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/hsm-web/Client/src/config.js b/hsm-web/Client/src/config.js
index b8e9a98..b2217b7 100644
--- a/hsm-web/Client/src/config.js
+++ b/hsm-web/Client/src/config.js
@@ -1,3 +1,3 @@
module.exports = {
- api: 'http://192.168.8.170:3000'
+ api: `http://${window.location.hostname}:3000`
}