-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
44 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
const cacheName = "app-" + "4b705cbe38f400c5db0320ed10fc29357d6d1889"; | ||
const cacheName = "app-" + "e31aa1c4d4bf560a2b0d649865fab57a2bf48d9c"; | ||
const resourcesToCache = ["/","/app.css","/app.js","/manifest.webmanifest","/wasm_exec.js","/web/app.wasm","/web/css/alert.css","/web/img/logo.png","https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js","https://cdn.jsdelivr.net/npm/[email protected]/css/halfmoon.min.css","https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css","https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js","https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/yaml.min.js","https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css"]; | ||
|
||
self.addEventListener("install", (event) => { | ||
console.log("installing app worker 4b705cbe38f400c5db0320ed10fc29357d6d1889"); | ||
console.log("installing app worker e31aa1c4d4bf560a2b0d649865fab57a2bf48d9c"); | ||
|
||
event.waitUntil( | ||
caches | ||
|
@@ -28,7 +28,7 @@ self.addEventListener("activate", (event) => { | |
); | ||
}) | ||
); | ||
console.log("app worker 4b705cbe38f400c5db0320ed10fc29357d6d1889 is activated"); | ||
console.log("app worker e31aa1c4d4bf560a2b0d649865fab57a2bf48d9c is activated"); | ||
}); | ||
|
||
self.addEventListener("fetch", (event) => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,22 +3,22 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="author" content="Gergely Brautigam"> | ||
<meta name="description" content> | ||
<meta content name="description"> | ||
<meta name="keywords" content> | ||
<meta name="theme-color" content="#2d2c2c"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover"> | ||
<meta property="og:url" content="http://127.0.0.1:64621/"> | ||
<meta property="og:url" content="http://127.0.0.1:49600/"> | ||
<meta property="og:title" content="Preview CRDs"> | ||
<meta property="og:description" content> | ||
<meta property="og:type" content="website"> | ||
<meta property="og:image" content> | ||
<title>Preview CRDs</title> | ||
<link rel="preload" href="/app.css" as="style" type="text/css"> | ||
<link href="/app.css" as="style" type="text/css" rel="preload"> | ||
<link type="text/css" rel="preload" href="/web/css/alert.css" as="style"> | ||
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" as="style" type="text/css"> | ||
<link type="text/css" rel="preload" href="https://cdn.jsdelivr.net/npm/[email protected]/css/halfmoon.min.css" as="style"> | ||
<link type="text/css" rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" as="style"> | ||
<link rel="preload" href="https://cdn.jsdelivr.net/npm/[email protected]/css/halfmoon.min.css" as="style" type="text/css"> | ||
<link type="text/css" rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" as="style"> | ||
<link rel="icon" href="https://raw.githubusercontent.com/maxence-charriere/go-app/master/docs/web/icon.svg"> | ||
<link href="https://raw.githubusercontent.com/maxence-charriere/go-app/master/docs/web/icon.svg" rel="icon"> | ||
<link rel="apple-touch-icon" href="/web/img/logo.png"> | ||
<link rel="manifest" href="/manifest.webmanifest"> | ||
<link rel="stylesheet" type="text/css" href="/app.css"> | ||
|
@@ -27,7 +27,7 @@ | |
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/css/halfmoon.min.css"> | ||
<link type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> | ||
<script defer src="/wasm_exec.js"></script> | ||
<script src="/app.js" defer></script> | ||
<script defer src="/app.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/yaml.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
|
@@ -64,7 +64,7 @@ | |
<body> | ||
<main></main> | ||
<aside id="app-wasm-loader" class="goapp-app-info"> | ||
<img src="/web/img/logo.png" id="app-wasm-loader-icon" class="goapp-logo goapp-spin"> | ||
<img class="goapp-logo goapp-spin" src="/web/img/logo.png" id="app-wasm-loader-icon"> | ||
<p id="app-wasm-loader-label" class="goapp-label">0%</p> | ||
</aside> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.