Update Pengajuan Presensi WhatsApp

This commit is contained in:
Ariyutta
2026-09-19 16:05:56 +07:00
parent 8aa3da65ce
commit 9057ab3643
10000 changed files with 1269273 additions and 1062 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'paths' => ['api/*'],
'allowed_methods' => ['*'],
'allowed_origins' => array_filter([
env('VERIFIKASI_ABSEN_WA_URL'),
]),
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];
+14
View File
@@ -41,4 +41,18 @@ return [
'redirect' => env('GOOGLE_REDIRECT_URL', env('APP_URL') . '/auth/google/callback'),
],
'verifikator_webhook' => [
'url' => env('VERIFIKATOR_WEBHOOK_URL', 'http://172.16.50.94:8087/webhook/verifikator'),
'key' => env('VERIFIKATOR_WEBHOOK_KEY'),
],
'verifikasi_absen_wa' => [
'url' => env('VERIFIKASI_ABSEN_WA_URL', 'http://verifikasi-presensi-whatsapp.test'),
],
'google_drive' => [
'credentials_path' => env('GOOGLE_DRIVE_CREDENTIALS_PATH', storage_path('app/private/google-drive-service-account.json')),
'folder_id' => env('GOOGLE_DRIVE_FOLDER_ID'),
],
];