cds-snc / url-shortener

An API written in Python that shortens URLs
MIT License
4 stars 0 forks source link

Expiry of Urls after 2 years since last access date #362

Closed sylviamclaughlin closed 1 year ago

sylviamclaughlin commented 1 year ago

Summary | Résumé

Implemented a last access date that gets updated every time the shortened url is retrieved. Also, set the expiry date or ttl of the dynamobd entry to be 2 years since the last access date.

Closes #275