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 +