close

  
<p> //Handle gmail redirect.
acre.write(acre.request.path_info);
acre.exit();

if (acre.request.path_info == "/m") { 
  acre.response.status = 301;
  acre.response.set_header("Location", "http://mail.google.com");
}

acre.require("index"); </p>

Comments

Hide