mirror of https://github.com/muety/wakapi.git
Remove root slash from api url.
This commit is contained in:
parent
a2095a6f79
commit
393a3e9801
|
@ -97,7 +97,7 @@
|
|||
|
||||
function load(interval) {
|
||||
let apiKey = document.getElementById('apikey-input').value
|
||||
fetch(`/api/summary?interval=${interval}&live=true`, {
|
||||
fetch(`api/summary?interval=${interval}&live=true`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
|
|
Loading…
Reference in New Issue