Skip to content

Small idea#142

Open
elmobp wants to merge 2 commits intopinterest:masterfrom
elmobp:master
Open

Small idea#142
elmobp wants to merge 2 commits intopinterest:masterfrom
elmobp:master

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.

1 participant