mirror of
https://github.com/mivodev/mivo.git
synced 2026-01-26 05:25:42 +07:00
chore: bump version to v1.2.3 - Fix CORS & Update Notification
This commit is contained in:
@@ -15,5 +15,6 @@ $router->group(['middleware' => 'cors'], function($router) {
|
||||
// Voucher Check (Code/Username in URL) - Support GET (Status Page) and POST (Login Page Check)
|
||||
$router->post('/api/voucher/check/{code}', [App\Controllers\PublicStatusController::class, 'check']);
|
||||
$router->get('/api/voucher/check/{code}', [App\Controllers\PublicStatusController::class, 'check']);
|
||||
$router->options('/api/voucher/check/{code}', function() { return; }); // CORS Middleware handles this
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user