Kirin 3 лет назад
Родитель
Сommit
314f355c12
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      route/wap/route.php

+ 1 - 1
route/wap/route.php

@@ -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');
 });