Update app.php

This commit is contained in:
wolfcode
2023-11-07 10:44:04 +08:00
parent f98d6f6fdc
commit b711d07384

View File

@@ -8,9 +8,4 @@
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Env;
use think\facade\Route;
Route::any('/', function () {
return redirect('/' . Env::get('EASYADMIN.ADMIN', false));
});