mirror of
https://github.com/mivodev/mivo.git
synced 2026-01-26 13:31:56 +07:00
feat: v1.2.3 release - status bars, cors fix, update checker
This commit is contained in:
@@ -11,6 +11,7 @@ $router->group(['middleware' => 'cors'], function($router) {
|
||||
|
||||
// Public Status API (No Auth Check in Controller)
|
||||
$router->post('/api/status/check', [App\Controllers\PublicStatusController::class, 'check']);
|
||||
$router->options('/api/status/check', function() { return; });
|
||||
|
||||
// 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']);
|
||||
|
||||
Reference in New Issue
Block a user