remove debug output

This commit is contained in:
Daniel Friesel 2019-05-18 08:29:21 +02:00
parent 547a96d28f
commit 283f5aad04
2 changed files with 2 additions and 7 deletions

View file

@ -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
);

View file

@ -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>