mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-03 12:37:39 +01:00
Update web.php
This commit is contained in:
parent
76155d607d
commit
3b04190cc5
@ -20,6 +20,9 @@ use App\Http\Controllers\UserController;
|
|||||||
// generates new APP KEY if no one is set
|
// generates new APP KEY if no one is set
|
||||||
if(EnvEditor::getKey('APP_KEY')==''){Artisan::call('key:generate');}
|
if(EnvEditor::getKey('APP_KEY')==''){Artisan::call('key:generate');}
|
||||||
|
|
||||||
|
// copies template meta config if none is present
|
||||||
|
if(!file_exists(base_path("config/meta.php"))){copy('storage/templates/meta.php', 'config/meta.php');}
|
||||||
|
|
||||||
//Changes the homepage to a LittleLink Custom profile if set in the config
|
//Changes the homepage to a LittleLink Custom profile if set in the config
|
||||||
if(env('HOME_URL') != '') {
|
if(env('HOME_URL') != '') {
|
||||||
Route::get('/', [UserController::class, 'littlelinkhome'])->name('littlelink');
|
Route::get('/', [UserController::class, 'littlelinkhome'])->name('littlelink');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user