-
Notifications
You must be signed in to change notification settings - Fork 198
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
Make the url shortener provider pluggable #25
Comments
We got the code from Natim@28bff88 to make it work with google API. I'd suggest:
URL_SHORTENER = {
For now we can just have google and is.gd. We can make Google's the default one, but we need to offer is.gd as an alternative (with warning regarding the https problem) because Google is becoming more and more a hot potatoes these days. |
// , Maybe there could be some sort of failover mode? Reminds me of #80. |
In the event that you're hosting 0bin yourself, having a native URL shortener on that domain would be preferably in certain scenarios. Maybe it could come in the form of an additional URL rewrite/route? |
That would defeat the entire purpose or 0bin as the server would need to Le 21/12/2015 10:19, timss a écrit :
|
Good point, hadn't thought about that. Please excuse my short sightedness. |
The short url feature has been removed in V2, so I'm closing this. |
Google url shortener has been mention has a better alternative with https hosted site. But is.id is a more neutral provider.
Been able to use both should be possible but setting it in the configuration file.
The text was updated successfully, but these errors were encountered: