remove debug output
This commit is contained in:
parent
547a96d28f
commit
283f5aad04
2 changed files with 2 additions and 7 deletions
|
@ -10,9 +10,7 @@ sub homepage {
|
|||
if ( $self->is_user_authenticated ) {
|
||||
$self->render(
|
||||
'landingpage',
|
||||
|
||||
#version => $self->app->config->{version} // 'UNKNOWN',
|
||||
version => join( '|||', @{ $self->req->cookies } ),
|
||||
version => $self->app->config->{version} // 'UNKNOWN',
|
||||
with_autocomplete => 1,
|
||||
with_geolocation => 1
|
||||
);
|
||||
|
|
|
@ -120,10 +120,7 @@
|
|||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('/service-worker.js')
|
||||
.then((reg) => {
|
||||
console.log('Service worker registered.', reg);
|
||||
});
|
||||
navigator.serviceWorker.register('/service-worker.js');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue