Open tarasinf opened 1 year ago
To fix the issue, I had to do the next changes. As in expiry_config
under number 4 is expiry_global_post_expire
thats not defined, and under number 1 in expiry_custom
. Does it make sense?
In function expiry_check( $args ) {
:
$gpx = $opt[5] == 'false' ? null : $opt[4];
-> $gpx = $opt[5] == 'false' ? null : $opt[1];
In yourls_add_filter( 'add_new_link', function (
:
$gpx = $opt[5] == 'false' ? null : $opt[4];
-> $gpx = $opt[5] == 'false' ? null : $opt[1];
YOURLS v 1.8.1 Expiry v 2.4.1
Settings:
Default Expiry Type
isTimer
Expiry Intercept Behavior
isCustome URL
Custome Intercept Page
ishttps://google.com/
(I had to set it by SQL, as after UI set it wasnone
)Expected behaviour:
After expiration time & clicking on a short URL, the Original URL has to be changed to
https://google.com/
.postexpire
has to be set tohttps://google.com/
.Actual behaviour:
After expiration time & clicking on a short URL, the record disappears from the table.
postexpire
set tonone
.