diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-09 10:52:31 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-09 10:52:31 +0100 |
commit | 7060167527b07683edee0ed281279eba4c86d8a3 (patch) | |
tree | e53a993023d40f65b9867effd92123cf24048f8c | |
parent | fa0aebac0061971ed45c74a261269064ac11799f (diff) | |
download | hoverbit-ble-7060167527b07683edee0ed281279eba4c86d8a3.tar.gz hoverbit-ble-7060167527b07683edee0ed281279eba4c86d8a3.zip |
:rocket: Deploy app v1.0.1
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | service-worker.js | 10 |
2 files changed, 3 insertions, 9 deletions
@@ -1 +1 @@ -<!DOCTYPE html><html lang="en" dir="ltr"><head><meta charset="utf-8"><meta name="viewport" content="viewport-fit=cover,width=device-width, initial-scale=1, shrink-to-fit=no,initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><meta name="HandheldFriendly" content="true"><title>HOVER:BIT Controller</title><link rel="canonical"><link rel="stylesheet" type="text/css" href="/hoverbit-ble/styles.96ce15e4.css"><link rel="manifest" href="/hoverbit-ble/manifest.webmanifest" crossorigin="use-credentials"><link rel="preconnect" href="https://fonts.gstatic.com"><link href="https://fonts.googleapis.com/css2?family=Kufam&display=swap" rel="stylesheet"></head><body> <div class="app-info"> <h1>HOVER:BIT Controller</h1> <span class="version">1.0.0</span> </div> <div class="landscape-warning"> <div class="landscape-warning-content"> <i class="fa-sync-alt fas"></i> <h1>Please use landscape mode</h1> <button id="btn_ignore_landscape_warning">Ignore</button> </div> </div> <div class="top-buttons"> </div> <button class="button-center button-center-top" id="btn_connect">CONNECT</button> <button class="button-center button-center-top" id="btn_disconnect">DISCONNECT</button> <div class="acc-string"><pre>T: 0, R: 0</pre></div> <button class="button-center button-center-bottom" id="btn_arm">ARM</button> <button class="button-center button-center-bottom" id="btn_disarm">DISARM</button> <div class="joystick joystick-left"></div> <div class="joystick joystick-right"></div> <div class="statusline"> <span class="connection statusline-item"> <i class="fa-bluetooth-b fab"></i> </span> <span class="arm statusline-item"> <i class="fa-exclamation-triangle fas"></i> </span> <span class="notification-area"></span> <span class="ping statusline-item"> <i class="fa-broadcast-tower fas"></i> </span> <span class="battery statusline-item"> <i class="fa-car-battery fas"></i> <span class="battery-status">0%</span> </span> </div> <script type="text/javascript" src="/hoverbit-ble/main.3f46a61e.js"></script> </body></html> +<!DOCTYPE html><html lang="en" dir="ltr"><head><meta charset="utf-8"><meta name="viewport" content="viewport-fit=cover,width=device-width, initial-scale=1, shrink-to-fit=no,initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><meta name="HandheldFriendly" content="true"><title>HOVER:BIT Controller</title><link rel="canonical"><link rel="stylesheet" type="text/css" href="/hoverbit-ble/styles.96ce15e4.css"><link rel="manifest" href="/hoverbit-ble/manifest.webmanifest" crossorigin="use-credentials"><link rel="preconnect" href="https://fonts.gstatic.com"><link href="https://fonts.googleapis.com/css2?family=Kufam&display=swap" rel="stylesheet"></head><body> <div class="app-info"> <h1>HOVER:BIT Controller</h1> <span class="version">1.0.1</span> </div> <div class="landscape-warning"> <div class="landscape-warning-content"> <i class="fa-sync-alt fas"></i> <h1>Please use landscape mode</h1> <button id="btn_ignore_landscape_warning">Ignore</button> </div> </div> <div class="top-buttons"> </div> <button class="button-center button-center-top" id="btn_connect">CONNECT</button> <button class="button-center button-center-top" id="btn_disconnect">DISCONNECT</button> <div class="acc-string"><pre>T: 0, R: 0</pre></div> <button class="button-center button-center-bottom" id="btn_arm">ARM</button> <button class="button-center button-center-bottom" id="btn_disarm">DISARM</button> <div class="joystick joystick-left"></div> <div class="joystick joystick-right"></div> <div class="statusline"> <span class="connection statusline-item"> <i class="fa-bluetooth-b fab"></i> </span> <span class="arm statusline-item"> <i class="fa-exclamation-triangle fas"></i> </span> <span class="notification-area"></span> <span class="ping statusline-item"> <i class="fa-broadcast-tower fas"></i> </span> <span class="battery statusline-item"> <i class="fa-car-battery fas"></i> <span class="battery-status">0%</span> </span> </div> <script type="text/javascript" src="/hoverbit-ble/main.3f46a61e.js"></script> </body></html> diff --git a/service-worker.js b/service-worker.js index bc3f42d..ce75143 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1,13 +1,7 @@ var APP_PREFIX = 'hoverbitcontroller' // Identifier for this app (this needs to be consistent across every cache update) -var VERSION = 'version_01' // Version of the off-line cache (change this value everytime you want to update cache) +var VERSION = '1.0.1' // Version of the off-line cache (change this value everytime you want to update cache) var CACHE_NAME = APP_PREFIX + VERSION -var URLS = [ // Add URL you want to cache in this list. - '/hoverbit-ble/', // If you have separate JS/CSS files, - '/hoverbit-ble/index.html', // add path to those files here - '/hoverbit-ble/styles.css', - '/hoverbit-ble/microbit.umd.js', - '/hoverbit-ble/script.js' -] +var URLS = ['/hoverbit-ble/','/hoverbit-ble/fa-brands-400.0a2f2d3f.woff2','/hoverbit-ble/fa-brands-400.529a9178.svg','/hoverbit-ble/fa-brands-400.61a02662.eot','/hoverbit-ble/fa-brands-400.a43d027d.ttf','/hoverbit-ble/fa-brands-400.abaa6551.woff','/hoverbit-ble/fa-regular-400.12e902ff.woff2','/hoverbit-ble/fa-regular-400.4fc407aa.svg','/hoverbit-ble/fa-regular-400.779979e6.woff','/hoverbit-ble/fa-regular-400.b26d94f4.eot','/hoverbit-ble/fa-regular-400.d59f1e49.ttf','/hoverbit-ble/fa-solid-900.26506ae2.svg','/hoverbit-ble/fa-solid-900.50887a69.woff','/hoverbit-ble/fa-solid-900.6c3fc37b.eot','/hoverbit-ble/fa-solid-900.be8a4f74.woff2','/hoverbit-ble/fa-solid-900.f6ec8168.ttf','/hoverbit-ble/index.html','/hoverbit-ble/index.html.bak','/hoverbit-ble/main.3f46a61e.js','/hoverbit-ble/main.3f46a61e.js.map','/hoverbit-ble/manifest.webmanifest','/hoverbit-ble/maskable_icon_x128.ae1e74f9.png','/hoverbit-ble/maskable_icon_x144.fc14e37c.png','/hoverbit-ble/maskable_icon_x152.ce6c1441.png','/hoverbit-ble/maskable_icon_x384.1af8edb2.png','/hoverbit-ble/maskable_icon_x512.a9ac38fa.png','/hoverbit-ble/maskable_icon_x72.b43d35ec.png','/hoverbit-ble/maskable_icon_x96.e03bc2e8.png','/hoverbit-ble/pwa-192x192.b3dbd8bb.png','/hoverbit-ble/pwa-512x512.b27071b7.png','/hoverbit-ble/service-worker.js','/hoverbit-ble/service-worker.js.bak','/hoverbit-ble/styles.96ce15e4.css','/hoverbit-ble/styles.96ce15e4.css.map'] // This will be replaced by the deploy-script // Respond with cached resources self.addEventListener('fetch', function (e) { |