mirror of
https://github.com/gamaio/lobli.git
synced 2025-08-14 02:29:05 +00:00
New token generation and fix output on shorten
This token generation should prevent the same token from being used, also considering using a type of cooldown timer. Short links were returning as (shortid)$, which didn't work
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
|
||||
$redis->zAdd("tracking:clicks", 1, $link);
|
||||
|
||||
return "0$seperator$short$";
|
||||
return "0$seperator$short";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user