feat: add real-time patient vital signs monitoring dashboard web interface and configuration

This commit is contained in:
2026-09-21 14:19:47 +05:30
parent ecd0fe0ca6
commit 68edb0b224
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -3439,6 +3439,7 @@
// === Configuration ===
function getAppPrefix() {
const p = window.location.pathname;
if (p.includes('/v1/contec-monitor')) return '/v1/contec-monitor';
if (p.includes('/api/')) return p.substring(0, p.indexOf('/api/'));
if (p.includes('/dashboard')) return p.substring(0, p.indexOf('/dashboard'));
return '';