admin: Use relative path to call API

This commit is contained in:
nemunaire 2021-07-21 23:17:47 +02:00
commit 29607981e4
5 changed files with 87 additions and 87 deletions

View file

@ -63,7 +63,7 @@ const indextpl = `<!DOCTYPE html>
}
</style>
<base href="{{.urlbase}}">
<script src="/js/d3.v3.min.js"></script>
<script src="js/d3.v3.min.js"></script>
</head>
<body class="bg-light text-dark">
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark text-light">