From e0e315862468373abc0de7ab94a7e8d7eb8f683b Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sat, 13 Feb 2021 14:19:07 +0100 Subject: [PATCH] Fixed API endpoints --- res/js/component/app.js | 4 ++-- res/js/component/app.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/res/js/component/app.js b/res/js/component/app.js index 74c3e95..b6d64be 100644 --- a/res/js/component/app.js +++ b/res/js/component/app.js @@ -107,7 +107,7 @@ class App { if (context.loading) return; context.setLoading(true); - load('web/backlog/', statehandler.parse({ + load('api/backlog/', statehandler.parse({ buffer: buffer.id, anchor: context.anchorBefore, after: 0, @@ -135,7 +135,7 @@ class App { if (context.loading) return; context.setLoading(true); - load('web/backlog/', statehandler.parse({ + load('api/backlog/', statehandler.parse({ buffer: buffer.id, anchor: context.anchorAfter, after: 4, diff --git a/res/js/component/app.jsx b/res/js/component/app.jsx index 36863ea..aa26671 100644 --- a/res/js/component/app.jsx +++ b/res/js/component/app.jsx @@ -118,7 +118,7 @@ class App { return; context.setLoading(true); - load("web/backlog/", statehandler.parse({ + load("api/backlog/", statehandler.parse({ buffer: buffer.id, anchor: context.anchorBefore, after: 0, @@ -150,7 +150,7 @@ class App { return; context.setLoading(true); - load("web/backlog/", statehandler.parse({ + load("api/backlog/", statehandler.parse({ buffer: buffer.id, anchor: context.anchorAfter, after: 4, -- GitLab