mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-03 20:47:47 +01:00
Added function to automatically generate APP_KEY
This commit is contained in:
parent
b7076706ba
commit
63ba594a63
@ -17,6 +17,9 @@ use App\Http\Controllers\UserController;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// generates new APP KEY if no one is set
|
||||||
|
if(EnvEditor::getKey('APP_KEY')==''){Artisan::call('key:generate');}
|
||||||
|
|
||||||
//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