silverstripe-progressivewebapp/templates/ServiceWorker.ss

9 lines
184 B
Scheme
Raw Normal View History

2020-04-02 01:41:49 +02:00
'use strict';
var version = '{$Version}',
2020-04-02 02:07:24 +02:00
appDomain = '{$BaseUrl}',
lang = 'en',
debug = <% if $DebugMode %>true<% else %>false<% end_if %>,
CACHE_NAME = 'sw' + version;
2020-04-02 01:41:49 +02:00
$Script.RAW;
2018-07-04 12:53:26 +02:00