updated manage and index for webpage
This commit is contained in:
@ -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",
|
||||
|
4
pb_public/index.html
Normal file → Executable file
4
pb_public/index.html
Normal file → Executable file
@ -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 @@
|
||||
</script>
|
||||
<script src="js/slideshow.js"></script>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user