Добавил S3, немного переделал логику, добавил поддержку конфига, немного переделал index.html и main.js.

This commit is contained in:
B4D_US3R 2025-01-14 15:54:38 +05:00
parent 6e042a05c0
commit d7952f1d12
7 changed files with 120 additions and 16 deletions

View file

@ -4,6 +4,6 @@ let pictureId = document.getElementById("CatGirlPicture");
pictureId.onclick = function() {
axios.get(location.href + "rand").then(function (response) {
console.log(response.data)
document.getElementById("CatGirlPicture").setAttribute("src", "images/"+response.data);
document.getElementById("CatGirlPicture").setAttribute("src", response.data);
});
}