Skip to content

Commit

Permalink
Merge pull request #147 from acelaya-forks/feature/ip-address-redirects
Browse files Browse the repository at this point in the history
Add support for IP-address redirect conditions from Shlink 4.2
  • Loading branch information
acelaya authored Aug 13, 2024
2 parents 0d42dbe + 6bc764c commit b3b8944
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).

## [Unreleased]
## [1.2.0] - 2024-08-13
### Added
* *Nothing*
* Add support for `ip-address` redirect condition type.

### Changed
* Update JS coding standard and migrate to ESLint flat config.
Expand Down
2 changes: 1 addition & 1 deletion src/api-contract/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export type ShlinkShortUrlsListParams = {
excludePastValidUntil?: boolean;
};

export type ShlinkRedirectConditionType = 'device' | 'language' | 'query-param';
export type ShlinkRedirectConditionType = 'device' | 'language' | 'query-param' | 'ip-address';

export type ShlinkRedirectCondition = {
type: ShlinkRedirectConditionType;
Expand Down

0 comments on commit b3b8944

Please sign in to comment.