Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
staFF6773 authored Apr 20, 2024
1 parent d504d2c commit 26a66ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function downloadRandomImage() {
// Esta funcion se usa para obtener la imagen random de anime y obtener la url de las imagenes
async function getRandomAnimeImageUrl() {
const animeImageUrl = 'https://raw.githubusercontent.com/Sstudios-Dev/image-core/main/src/img-anime/';
const randomNumber = Math.floor(Math.random() * 200) + 1; // Assuming there are 1000 images
const randomNumber = Math.floor(Math.random() * 205) + 1; // Assuming there are 1000 images
const imageName = `img-anime${randomNumber}.jpg`;
return { animeImageUrlFull: `${animeImageUrl}${imageName}?raw=true`, imageName };
}
Expand Down

0 comments on commit 26a66ad

Please sign in to comment.