@@ -6,9 +6,9 @@ const PORT = process.env.PORT || 3000;
app.use(function(req,res,next){
if(req.headers['x-forwarded-proto']==='http'){
next();
}else{
res.redirect('http://'+req.hostname+req.url);
}else{
next();
}
});
app.use(express.static('public'));
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.