admin: Use relative path to call API
This commit is contained in:
parent
8f1b44e3dd
commit
29607981e4
5 changed files with 87 additions and 87 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Reference in a new issue