From 8c2f794aae1341058cd3c63cd081826c74922b75 Mon Sep 17 00:00:00 2001 From: masterElmar Date: Tue, 23 Jul 2024 19:58:15 +0200 Subject: [PATCH] updated manage and index for webpage --- pb_public/admin/manage.html | 2 +- pb_public/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 pb_public/index.html diff --git a/pb_public/admin/manage.html b/pb_public/admin/manage.html index 9b35f75..b6583f7 100644 --- a/pb_public/admin/manage.html +++ b/pb_public/admin/manage.html @@ -86,7 +86,7 @@ // fetch mediaData from http://127.0.0.1:8090/api/collections/media/records/ with GET method function fetchMediaData() { - fetch("/api/collections/media/records/", { + fetch("/api/collections/media/records/?perPage=3000", { method: "GET", headers: { "Content-Type": "application/json", diff --git a/pb_public/index.html b/pb_public/index.html old mode 100644 new mode 100755 index 55336b7..1d23561 --- a/pb_public/index.html +++ b/pb_public/index.html @@ -48,7 +48,7 @@ const sliderArrayQuery = []; - const pb = new PocketBase('http://127.0.0.1:8090'); + const pb = new PocketBase('http://192.168.178.57:8090'); const media = pb.collection('media').getFullList(2000, { sort: '-created', @@ -70,4 +70,4 @@ - \ No newline at end of file +