@@ -11,5 +11,5 @@
use think\facade\Route;
Route::miss(function () {
- return view(app()->getRootPath() . 'public' . DS . 'index' . DS);
+ return redirect(sys_config('site_url') . '/index');
});