annotate index.js @ 71:bfacf01fd119

conv vmalert/alertmanager config to py
author drewp@bigasterisk.com
date Fri, 03 May 2024 12:27:16 -0700
parents adde35eb4773
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
57
b3addcd4486c extract css/js to their own files
drewp@bigasterisk.com
parents:
diff changeset
1 function init(serverUrl) {
b3addcd4486c extract css/js to their own files
drewp@bigasterisk.com
parents:
diff changeset
2 // this defaults to something incorrect, so we fix it hopefully before you go to vmui
b3addcd4486c extract css/js to their own files
drewp@bigasterisk.com
parents:
diff changeset
3 localStorage.setItem('SERVER_URL', JSON.stringify({ value: serverUrl }));
b3addcd4486c extract css/js to their own files
drewp@bigasterisk.com
parents:
diff changeset
4 }