This commit is contained in:
Antoine Gersant 2019-12-08 16:28:52 -08:00
parent 6a2fbed133
commit 299aea7d78

View file

@ -20,6 +20,7 @@ pub fn get_server(
) -> Result<rocket::Rocket, errors::Error> { ) -> Result<rocket::Rocket, errors::Error> {
let mut config = rocket::Config::build(rocket::config::Environment::Production) let mut config = rocket::Config::build(rocket::config::Environment::Production)
.port(port) .port(port)
.keep_alive(0)
.finalize()?; .finalize()?;
if let Some(secret) = auth_secret { if let Some(secret) = auth_secret {