pis #1

Closed
fred.boniface wants to merge 51 commits from pis into dev
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 25e014a9e3 - Show all commits

View File

@ -1,5 +1,5 @@
/* All Page Init */
const version = '2.0.0-testing'
const version = '2.0.0'
/* Feature Detectors */

View File

@ -44,7 +44,7 @@
<div id="crs-box">
<p>Enter a services start and end station CRS codes to see code options and stopping patterns.</p>
<p>Currently supported (Beta): GWR: Up/Dn SVB-EXD, Dn CDF-PNZ, Up/Dn GMV/CDF-PMH, HEx</p>
<p>Currently supported (Beta): GWR: Up/Dn SVB-EXD, Dn CDF-PNZ, Up/Dn GMV/CDF-PMH, HEx<br>Duplicate stopping patterns have been removed.</p>
<p id="auth-required">You need to be logged into a free <a href="./settings.html">rail staff version</a> account for this feature.</p>
<form action="javascript:findByOrigDest();">
<div id="crs-inputs">

8
sw.js
View File

@ -1,9 +1,9 @@
/* Service Worker */
const appVersion = '2.0.0-rc-20230505001'
const cacheName = `owlboard-${appVersion}`
const swVersion = '2.0.0-20230506'
const cacheName = `owlboard-${swVersion}`
const cacheIDs = [cacheName]
const staticCache = [
let staticCache = [
'/styles/fonts/firamono/firamono-500.woff2',
'/styles/fonts/firamono/firamono-regular.woff2',
'/styles/fonts/urwgothic/urwgothic.woff2',
@ -54,7 +54,7 @@ const dynamicCache = [
]
for(let i = 0; i < dynamicCache.length; i++) {
let item = dynamicCache[i] + `?${appVersion}`
let item = dynamicCache[i] + `?${swVersion}`
staticCache.push(item)
}