mirror of
https://github.com/olegvodyanov/instalinks.git
synced 2025-12-20 06:47:05 +03:00
Compare commits
2 Commits
416c85b310
...
dff6808e94
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dff6808e94 | ||
|
|
9303b3a6e6 |
@ -7,7 +7,7 @@ const PER_PAGE = 8;
|
||||
let currentPage = 1;
|
||||
|
||||
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(data => {
|
||||
linksData = data.results;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user