@ -4,6 +4,8 @@ APP_KEY=base64:KcBF6sf3T6Pv8CsflCK93UT6j7Xh6Zdyj+/H1XG1WYc=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
APP_DOMAIN=www.lqycms.com
APP_SUBDOMAIN=m.lqycms.com
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
@ -12,7 +12,7 @@
*/
//wap路由,要放到最前面,否则解析不到
Route::group(['domain' => 'm.lqycms.com', 'namespace' => 'Wap'], function () {
Route::group(['domain' => env('APP_SUBDOMAIN'), 'namespace' => 'Wap'], function () {
Route::get('/', 'IndexController@index');
Route::get('/tags', 'IndexController@tags');
Route::get('/search', 'IndexController@search');