260702_215513

This commit is contained in:
Maciej J. Bowszys 2026-07-02 21:55:13 +02:00
parent 69a305ea5b
commit 197c2af66e
3 changed files with 15 additions and 1 deletions

View File

@ -291,5 +291,5 @@ func main(){
//fmt.Println("Welcome to moira_db!");
log.Fatal(http.ListenAndServe(":8091", nil))
log.Fatal(http.ListenAndServe(":8000", nil))
}

View File

@ -1,4 +1,16 @@
var installPromptEvnt = null;
window.onload = () => {
window.addEventListener("beforeinstallprompt", (e) => {
installPromptEvnt = e;
document.getElementById("inp_bttn").disabled = false;
});
document.getElementById("inp_bttn").addEventListener("click", function(){
installPromptEvnt.prompt();
this.disabled = true;
});
var fetch_filmInfo = async (in_url)=>{
// pretty good test redirect: https://share.google/mSDJehdZm6hp6vTYy
var resp;

View File

@ -15,6 +15,8 @@
<body>
<input type="text" id="inEl">
</br>
<input type="button" id="inp_bttn" value="Install" disabled>
<div>
<h1 id="filmInfo_title"></h1>