You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change /find to in addition to querying the sqlite database, check if the expiration column is not null. if it is not null and the expiration is before the present moment, delete the url, and return a 404 response.
The text was updated successfully, but these errors were encountered:
users should be able to specify an expiration for a url. this expiration would exist as a new column in the sqlite database.
if a url was requested and it had a non-null expiration value, and the url is expired, it is deleted from the database and the api returns a 404.
game plan
/find
to in addition to querying the sqlite database, check if the expiration column is not null. if it is not null and the expiration is before the present moment, delete the url, and return a 404 response.The text was updated successfully, but these errors were encountered: