Hi. When i deploy my code in reposetories and GitHub Pages i get this error:
Failed to load resource: the server responded with a status of 404 ()
index.js:6 Uncaught TypeError: Cannot set properties of null (setting 'onclick')
at index.js:6
book.html:138 Uncaught (in promise) ReferenceError: eel is not defined
at GetAllBooks (book.html:138)
at Books (book.html:146)
at book.html:148
book.html:142 Uncaught (in promise) ReferenceError: eel is not defined
at GetPathPhoto (book.html:142)
at PathBooks (book.html:151)
at book.html:153
Hovewer, I do not know waht happened, because i when i run local all work.
If you need see full code and structure project i can give link repositories.
<html>
<script>
// functions for get info and path books site
async function GetAllBooks() {
return await eel.bookstore()();
}
async function GetPathPhoto() {
return await eel.path_photos_books()();
}
(async function Books(){
let books = await GetAllBooks();
console.log(books);
})();
(async function PathBooks(){
let paths = await GetPathPhoto();
console.log(paths);
})();
</script>
</html>
Hi. When i deploy my code in reposetories and GitHub Pages i get this error:
Hovewer, I do not know waht happened, because i when i run local all work. If you need see full code and structure project i can give link repositories.
Python-code:
HTML-code: