silverstripe-progressivewebapp/templates/ServiceWorker.ss
2020-04-02 07:07:24 +07:00

9 lines
184 B
Scheme

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