mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Finalize logic to dynamically match accept language rules
This commit is contained in:
@@ -24,7 +24,7 @@ class ShortUrlRedirectRulesFixture extends AbstractFixture implements DependentF
|
||||
/** @var ShortUrl $defShortUrl */
|
||||
$defShortUrl = $this->getReference('def456_short_url');
|
||||
|
||||
$englishCondition = RedirectCondition::forLanguage('en-UK');
|
||||
$englishCondition = RedirectCondition::forLanguage('en');
|
||||
$manager->persist($englishCondition);
|
||||
|
||||
$fooQueryCondition = RedirectCondition::forQueryParam('foo', 'bar');
|
||||
|
||||
Reference in New Issue
Block a user