diff --git a/routes/web.php b/routes/web.php index 8ed23b65..21a03165 100644 --- a/routes/web.php +++ b/routes/web.php @@ -123,6 +123,13 @@ Route::get('/installation', function () { })->name('install') ->middleware(['redirect-if-installed']); +// Registration via invitation (serves SPA) +// ------------------------------------------------- + +Route::get('/register', function () { + return view('app'); +})->middleware(['install']); + // Move other http requests to the Vue App // -------------------------------------------------