This commit is contained in:
tokslaw7
2023-04-16 01:27:17 +00:00
parent fc4e275bcf
commit 9b589c6356
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class App extends BaseConfig
*
* @var string
*/
public $baseURL = 'http://localhost:8080/';
public $baseURL = 'http://localhost:9083/';
/**
* --------------------------------------------------------------------------
+2
View File
@@ -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');
+6
View File
@@ -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();
}
}