260702_215513
This commit is contained in:
parent
69a305ea5b
commit
197c2af66e
@ -291,5 +291,5 @@ func main(){
|
|||||||
|
|
||||||
|
|
||||||
//fmt.Println("Welcome to moira_db!");
|
//fmt.Println("Welcome to moira_db!");
|
||||||
log.Fatal(http.ListenAndServe(":8091", nil))
|
log.Fatal(http.ListenAndServe(":8000", nil))
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,16 @@
|
|||||||
|
var installPromptEvnt = null;
|
||||||
|
|
||||||
window.onload = () => {
|
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)=>{
|
var fetch_filmInfo = async (in_url)=>{
|
||||||
// pretty good test redirect: https://share.google/mSDJehdZm6hp6vTYy
|
// pretty good test redirect: https://share.google/mSDJehdZm6hp6vTYy
|
||||||
var resp;
|
var resp;
|
||||||
|
|||||||
@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<input type="text" id="inEl">
|
<input type="text" id="inEl">
|
||||||
|
</br>
|
||||||
|
<input type="button" id="inp_bttn" value="Install" disabled>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h1 id="filmInfo_title"></h1>
|
<h1 id="filmInfo_title"></h1>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user