Closed sheerun closed 9 years ago
something like this?
app.get('/', function(req, res){
res.redirect(301, 'http://bower.io/');
});
Maybe 302 is more appropriate?
hmm...how is it temporary?
On Sun, Jan 4, 2015 at 10:06 PM, Adam Stankiewicz notifications@github.com wrote:
Maybe 302 is more appropriate?
— Reply to this email directly or view it on GitHub https://github.com/bower/registry/issues/106#issuecomment-68663547.
patrick
For example in future we decide to point to http://bower.io/search/ instead?
By definition, those are redirects from one domain A.com to another domain B.com that are claimed to be temporary; that is, the web server on A.com could always change its mind and start showing content on A.com again
302 it is
Is this working? https://bower.herokuapp.com is still Cannot GET /
@desandro Someone forgot to deploy. I've just done it.
https://bower.herokuapp.com seems to be down again
@teddyhwang It's not appropriate issue for reporting downtimes.
Many people are confused by current homepage of registry, especially it is mentioned when registering new package, see: https://github.com/bower/bower/issues/1612