Добавил S3, немного переделал логику, добавил поддержку конфига, немного переделал index.html и main.js.
This commit is contained in:
parent
6e042a05c0
commit
d7952f1d12
7 changed files with 120 additions and 16 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue