Fix url generating in index.html (status api)
This commit is contained in:
@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
function updateServerInfo() {
|
function updateServerInfo() {
|
||||||
fetch('/api/v1/server/status')
|
fetch('{{ url_for('server_status_api') }}')
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
// Update extended info from CLI
|
// Update extended info from CLI
|
||||||
|
|||||||
Reference in New Issue
Block a user