添加跨域
添加服务后台添加
This commit is contained in:
@@ -12,5 +12,5 @@ Route::rule('mobile/:any', function () {
|
||||
//手机h5页面路由
|
||||
Route::rule('pc/:any', function () {
|
||||
Config::set('app_trace', false);
|
||||
return view(app()->getRootPath() . 'public/pc/index.html');
|
||||
return view(app()->getRootPath() . 'public/pc/lists.html');
|
||||
})->pattern(['any' => '\w+']);
|
||||
Reference in New Issue
Block a user