It's used for artisan server commands. If you need to recognize it I suggest an extension of the urlgenerator helper class.
I'm using it for sub domains
Route::group(array('domain' => 'dev.' . Config::get('app.url')), function() {
Route::get('/', function() {
//
});
});
Route::group(array('domain' => 'support.' . Config::get('app.url')), function() {
Route::get('/', function() {
//
});
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community