Update File Custom Cors All Method - perbaikan routes.php
This commit is contained in:
parent
27856b7d54
commit
6cc8ca9224
@ -5,6 +5,9 @@ use CodeIgniter\Router\RouteCollection;
|
||||
/**
|
||||
* @var RouteCollection $routes
|
||||
*/
|
||||
$routes->options('(:any)', function() {
|
||||
return '';
|
||||
});
|
||||
$routes->get('/', 'Home::index');
|
||||
|
||||
$routes->post('/auth/login/', 'Auth::login');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user