mirror of
https://github.com/exane/not-gwent-online
synced 2025-08-13 13:07:32 +00:00
change landing view rendering to php
This commit is contained in:
site
client
app
assets
views
public
assets
server
app
@@ -1,5 +1,16 @@
|
||||
<?php
|
||||
|
||||
get('/lobby', function() {
|
||||
return view('inner')
|
||||
->withSection('inner')
|
||||
->withType('server');
|
||||
});
|
||||
|
||||
get('/', function() {
|
||||
return view('app');
|
||||
if(Auth::check()) {
|
||||
return redirect('/lobby');
|
||||
}
|
||||
|
||||
return view('landing')
|
||||
->withSection('landing');
|
||||
});
|
Reference in New Issue
Block a user