Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify expiry time in confirmation view #459

Open
djk20 opened this issue Nov 11, 2022 · 1 comment
Open

Specify expiry time in confirmation view #459

djk20 opened this issue Nov 11, 2022 · 1 comment

Comments

@djk20
Copy link

djk20 commented Nov 11, 2022

Feature request.
It would be nice if src/templates/ConfirmationView.ts specified the expiry time for the content, perhaps something like:
After the expiry time (Sat Nov 12 03:27:33 UTC 2022) is reached, the content will no longer be available.
or
After the expiry time (1 day) is reached, the content will no longer be available.

@Incognito
Copy link
Owner

That's a good idea, it should be possible to do it by passing ttl into

response.end(this.render(secretUrl.toString()));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants