diff --git a/FakeDeckUI/FakeDeck/Class/FakeDeckMain.cs b/FakeDeckUI/FakeDeck/Class/FakeDeckMain.cs index 2f17717..a76a675 100644 --- a/FakeDeckUI/FakeDeck/Class/FakeDeckMain.cs +++ b/FakeDeckUI/FakeDeck/Class/FakeDeckMain.cs @@ -24,6 +24,7 @@ namespace FakeDeck.Class " " + " " + " " + + " " + " " + " " + "
"; diff --git a/FakeDeckUI/FakeDeck/Class/HttpServer.cs b/FakeDeckUI/FakeDeck/Class/HttpServer.cs index de327a6..fd80ddc 100644 --- a/FakeDeckUI/FakeDeck/Class/HttpServer.cs +++ b/FakeDeckUI/FakeDeck/Class/HttpServer.cs @@ -56,6 +56,7 @@ namespace FakeDeck.Class {".img", "application/octet-stream"}, {".iso", "application/octet-stream"}, {".jar", "application/java-archive"}, + {".json", "application/json"}, {".jardiff", "application/x-java-archive-diff"}, {".jng", "image/x-jng"}, {".jnlp", "application/x-java-jnlp-file"}, diff --git a/FakeDeckUI/FakeDeck/FakeDeck.csproj b/FakeDeckUI/FakeDeck/FakeDeck.csproj index 509e229..75cd812 100644 --- a/FakeDeckUI/FakeDeck/FakeDeck.csproj +++ b/FakeDeckUI/FakeDeck/FakeDeck.csproj @@ -19,6 +19,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest diff --git a/FakeDeckUI/FakeDeck/StaticFiles/app.js b/FakeDeckUI/FakeDeck/StaticFiles/app.js index 25f0256..b96ad3c 100644 --- a/FakeDeckUI/FakeDeck/StaticFiles/app.js +++ b/FakeDeckUI/FakeDeck/StaticFiles/app.js @@ -68,6 +68,8 @@ function formToAjax(){ const target = event.currentTarget; target.style.opacity = "0.5" + navigator.vibrate(200); + console.log(target.method, target.action); console.log(form.method, form.action); console.log(form === target); diff --git a/FakeDeckUI/FakeDeck/StaticFiles/manifest.json b/FakeDeckUI/FakeDeck/StaticFiles/manifest.json new file mode 100644 index 0000000..e27972c --- /dev/null +++ b/FakeDeckUI/FakeDeck/StaticFiles/manifest.json @@ -0,0 +1,10 @@ +{ + "name": "FakeDeck", + "short_name": "FakeDeck", + "theme_color": "#fff", + "background_color": "#fff", + "display": "fullscreen", + "orientation": "landscape", + "scope": "/", + "start_url": "/" +} \ No newline at end of file