Test
This commit is contained in:
@@ -24,7 +24,7 @@ class App extends BaseConfig
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $baseURL = 'http://localhost:8080/';
|
||||
public $baseURL = 'http://localhost:9083/';
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
|
||||
@@ -37,6 +37,8 @@ $routes->set404Override();
|
||||
// route since we don't have to scan directories.
|
||||
$routes->get('/', 'Home::index');
|
||||
|
||||
$routes->get('/en/wrench/api/v1/test','Home::test');
|
||||
|
||||
$routes->post('/en/wrench/api/v1/apigate', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/generics', 'WrenchApi::apigate');
|
||||
$routes->post('/en/wrench/api/v1/createuser', 'WrenchApi::apigate');
|
||||
|
||||
@@ -10,4 +10,10 @@ class Home extends BaseController
|
||||
$data['home_background'] = getenv('HOME_PAGE_BACKGROUND');
|
||||
return view('welcome_message',$data);
|
||||
}
|
||||
|
||||
public function test()
|
||||
{
|
||||
echo "hello world, from home controller";
|
||||
phpinfo();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user