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

Small idea #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Small idea #142

wants to merge 2 commits into from

Conversation

elmobp
Copy link

@elmobp elmobp commented Jul 21, 2021

Compute a sha256 of the snappass URL's and return that, pop it in Redis as k => v. Set a route for /u/>key which does a lookup for that key if found performs a redirect to the "secret" url. As the secret URL has some characters some clients will have problems parsing. This adds no more dep's to the repo as well, I did have another thought import pyshorteners into the project and have come optonal settings if to enable it and what provider so you can generate short links??

@elmobp
Copy link
Author

elmobp commented Jul 21, 2021

Example of the other option: elmobp@861bf28

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

Successfully merging this pull request may close these issues.

None yet

1 participant