use window.location.pathname instead of /
use window.location.pathname instead of /

Crapworks/ceph-dash,Crapworks/ceph-dash,TelekomCloud/ceph-dash,Aorjoa/aiyara-ceph-dash,Aorjoa/aiyara-ceph-dash,Aorjoa/aiyara-ceph-dash,Aorjoa/aiyara-ceph-dash,TelekomCloud/ceph-dash,Crapworks/ceph-dash,Aorjoa/aiyara-ceph-dash,Crapworks/ceph-dash