Add service worker and offline page (needed to install the webapp on mobile devices)

This commit is contained in:
Lorenzo Breda
2021-09-10 22:35:59 +02:00
parent e9f2f56634
commit 16d39ff9d0
14 changed files with 250 additions and 2 deletions

View File

@@ -37,6 +37,13 @@ Route::group(
}
);
Route::group(
['middleware' => 'binders-only'],
static function () {
Route::get('offline', fn () => view('errors.Offline'));
}
);
/**
* These routes only work when the user is NOT logged in.
*/