mirror of
https://github.com/olegvodyanov/instalinks.git
synced 2025-12-20 11:27:04 +03:00
Compare commits
No commits in common. "dff6808e94ab5a4b5370f154b1b12a1449c966cc" and "416c85b310357cf805226b4c83cc7bf74f5fcb8a" have entirely different histories.
dff6808e94
...
416c85b310
@ -7,7 +7,7 @@ const PER_PAGE = 8;
|
|||||||
let currentPage = 1;
|
let currentPage = 1;
|
||||||
|
|
||||||
function loadLinks() {
|
function loadLinks() {
|
||||||
fetch(`/api/links/?page=${currentPage}&per_page=${PER_PAGE}`)
|
fetch('/api/links/?page=${currentPage}&per_page=${PER_PAGE}')
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
linksData = data.results;
|
linksData = data.results;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user