mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -407,7 +407,7 @@
|
||||
this.activeTab = tab;
|
||||
},
|
||||
clearLogs: function() {
|
||||
fetch('/logs/clear');
|
||||
fetch('/api/logs/clear');
|
||||
this.currentLog = null;
|
||||
},
|
||||
setLog: function (log) {
|
||||
@@ -421,7 +421,7 @@
|
||||
this.view = view;
|
||||
},
|
||||
replay: function (log) {
|
||||
fetch('/replay/' + log.id);
|
||||
fetch('/api/replay/' + log.id);
|
||||
},
|
||||
connect: function () {
|
||||
let conn = new ReconnectingWebSocket(`ws://${window.location.hostname}:${window.location.port}/socket`);
|
||||
@@ -431,7 +431,7 @@
|
||||
};
|
||||
},
|
||||
loadLogs: function (log) {
|
||||
fetch('/logs')
|
||||
fetch('/api/logs')
|
||||
.then((response) => {
|
||||
return response.json();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user