You've already forked Php-Template
static test
This commit is contained in:
@@ -8,7 +8,8 @@ return [
|
||||
* The server configuration.
|
||||
*/
|
||||
'server' => [
|
||||
'port' => Env::get('HTTP_PORT', 9501),
|
||||
'port' => Env::get('HTTP_PORT', 9501, 'int'),
|
||||
'dev_mode' => Env::get('DEV_MODE', false, 'bool'),
|
||||
],
|
||||
|
||||
/**
|
||||
@@ -20,5 +21,11 @@ return [
|
||||
'database' => Env::get('DB_DATABASE', 'siteworxpro'),
|
||||
'username' => Env::get('DB_USERNAME', 'siteworxpro'),
|
||||
'password' => Env::get('DB_PASSWORD', 'password'),
|
||||
],
|
||||
|
||||
'cors' => [
|
||||
'allowed_origins' => Env::get('CORS_ALLOWED_ORIGINS', 'http://localhost:3000'),
|
||||
'allow_credentials' => Env::get('CORS_ALLOW_CREDENTIALS', true, 'bool'),
|
||||
'max_age' => Env::get('CORS_MAX_AGE', 3600, 'int'),
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user