silverstripe-progressivewebapp/templates/ServiceWorker.ss
2020-04-02 06:41:49 +07:00

11 lines
247 B
Scheme

'use strict';
var version = '{$Version}',
appDomain = '{$BaseUrl}',
lang = 'en',
debug = <% if $DebugMode %>true<% else %>false<% end_if %>,
isPushEnabled = true,
offline = false,
CACHE_NAME = 'sw' + version;
$Script.RAW;