feat: add real-time patient vital signs monitoring dashboard web interface and configuration
This commit is contained in:
@@ -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 '';
|
||||
|
||||
Reference in New Issue
Block a user