// +---------------------------------------------------------------------- Route::any('api/:version/server/:controller/:function', 'api/:version.:controller/:function')->allowCrossDomain(); Route::any('api/:version/:controller/:function', 'api/:version.:controller/:function')->allowCrossDomain(); Route::any('api/:controller/:function', 'api/:controller/:function')->allowCrossDomain(); return [ ];