Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Shorten link and remove 500 errors #1

Merged
merged 2 commits into from Jul 4, 2021

Conversation

cbondurant
Copy link
Contributor

By comparing against a regex we can detect if the link is in the proper format, and allow for excluding https://twitter.com/" in the url. this allows for swapping out twitter.comfortwtfix.me` in place, and having the link instantly work.

Also removed some unused imports that were causing issue as they were not in the requires.txt

This allows for the removal of "https://twitter.com/"
This could be more convinent as you simply replace "twitter.com" with
twtfix.me in the url, removing having to type http:// each time

also added additional error handling just to avoid messy 500 errors.
@daisyUniverse daisyUniverse merged commit d2b1aa1 into daisyUniverse:main Jul 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants