Deploy Ladill Woo Manager / deploy (push) Failing after 2s
Standalone app with SSO shell, WordPress plugin connect flow, webhook ingest, fulfillment inbox, and plugin activation API — no payment processing. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
723 B
PHP
22 lines
723 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\Api\StoreActivationController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Ladill Woo Manager — WordPress plugin API
|
|
|--------------------------------------------------------------------------
|
|
| Called by the Ladill WooCommerce plugin after OAuth connect.
|
|
*/
|
|
|
|
Route::prefix('v1')->group(function () {
|
|
Route::post('/stores/activate', [StoreActivationController::class, 'activate'])
|
|
->middleware('throttle:20,1')
|
|
->name('api.stores.activate');
|
|
|
|
Route::get('/stores/me', [StoreActivationController::class, 'show'])
|
|
->middleware('throttle:60,1')
|
|
->name('api.stores.show');
|
|
});
|