mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Задание параметров для рекапчи в продакшен режиме через env переменные
This commit is contained in:
9
api/config/config-prod.php
Normal file
9
api/config/config-prod.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
return [
|
||||
'components' => [
|
||||
'reCaptcha' => [
|
||||
'public' => getenv('RECAPTCHA_PUBLIC'),
|
||||
'secret' => getenv('RECAPTCHA_SECRET'),
|
||||
],
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user