Changed unsplash URL to fix issue with image retrieval

pull/160/head
Lokesh 2 years ago
parent 236f68461b
commit 72b6f0fec2

@ -1,5 +1,5 @@
const container = document.querySelector('.container')
const unsplashURL = 'https://source.unsplash.com/random/'
const unsplashURL = 'https://picsum.photos/'
const rows = 5
for(let i = 0; i < rows * 3; i++) {
@ -9,7 +9,7 @@ for(let i = 0; i < rows * 3; i++) {
}
function getRandomSize() {
return `${getRandomNr()}x${getRandomNr()}`
return `${getRandomNr()}/${getRandomNr()}`
}
function getRandomNr() {

Loading…
Cancel
Save