Mercurial > code > home > repos > victoriametrics
diff next/index.js @ 57:b3addcd4486c
extract css/js to their own files
(patch is contaminated with some parameterization code)
author | drewp@bigasterisk.com |
---|---|
date | Fri, 26 Apr 2024 15:35:23 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/next/index.js Fri Apr 26 15:35:23 2024 -0700 @@ -0,0 +1,4 @@ +function init(serverUrl) { + // this defaults to something incorrect, so we fix it hopefully before you go to vmui + localStorage.setItem('SERVER_URL', JSON.stringify({ value: serverUrl })); +} \ No newline at end of file