Allowed new redirect config options to be pased as env vars to the docker image

This commit is contained in:
Alejandro Celaya
2020-06-20 11:21:37 +02:00
parent f2f07be11f
commit 5c163490c7
6 changed files with 23 additions and 3 deletions

View File

@@ -65,6 +65,8 @@ class SimplifiedConfigParserTest extends TestCase
'mercure_internal_hub_url' => 'internal_url',
'mercure_jwt_secret' => 'super_secret_value',
'anonymize_remote_addr' => false,
'redirect_status_code' => 301,
'redirect_cache_lifetime' => 90,
];
$expected = [
'app_options' => [
@@ -94,6 +96,8 @@ class SimplifiedConfigParserTest extends TestCase
],
'default_short_codes_length' => 8,
'anonymize_remote_addr' => false,
'redirect_status_code' => 301,
'redirect_cache_lifetime' => 90,
],
'delete_short_urls' => [