All checks were successful
Deploy main / deploy (push) Successful in 23s
- SHJ-4B: 定期契約更新バッチ処理
24 lines
928 B
PHP
24 lines
928 B
PHP
<?php
|
|
|
|
use Illuminate\Foundation\Application;
|
|
use Illuminate\Foundation\Configuration\Exceptions;
|
|
use Illuminate\Foundation\Configuration\Middleware;
|
|
|
|
return Application::configure(basePath: dirname(__DIR__))
|
|
->withRouting(
|
|
web: __DIR__.'/../routes/web.php',
|
|
commands: __DIR__.'/../routes/console.php',
|
|
health: '/up',
|
|
)
|
|
->withMiddleware(function (Middleware $middleware) {
|
|
// SHJ-4A ウェルネット決済情報受信用エンドポイントのCSRF例外設定
|
|
// 外部システムからのPOSTリクエストのためCSRF保護を無効化
|
|
$middleware->validateCsrfTokens(except: [
|
|
'/shj4a', // SHJ-4A本番用エンドポイント
|
|
'/webhook/wellnet', // SHJ-4A開発・デバッグ用エンドポイント
|
|
]);
|
|
})
|
|
->withExceptions(function (Exceptions $exceptions) {
|
|
//
|
|
})->create();
|