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

@@ -11,6 +11,7 @@ use PUGX\Shortid\Factory as ShortIdFactory;
use function sprintf;
const DEFAULT_DELETE_SHORT_URL_THRESHOLD = 15;
const DEFAULT_SHORT_CODES_LENGTH = 5;
const MIN_SHORT_CODES_LENGTH = 4;
const DEFAULT_REDIRECT_STATUS_CODE = StatusCodeInterface::STATUS_FOUND;