mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Support for redirects with a condition before date
This commit is contained in:
committed by
Alejandro Celaya
parent
77898d1edc
commit
dae52fedf4
@@ -122,6 +122,9 @@ class RedirectRuleHandler implements RedirectRuleHandlerInterface
|
||||
),
|
||||
RedirectConditionType::GEOLOCATION_CITY_NAME => RedirectCondition::forGeolocationCityName(
|
||||
$this->askMandatory('City name to match?', $io),
|
||||
),
|
||||
RedirectConditionType::BEFORE_DATE => RedirectCondition::forBeforeDate(
|
||||
$this->askMandatory('Date to match? (ISO 8601)', $io),
|
||||
)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user