From f843d89b745d60c60356d41a8f66e7f92a7375cf Mon Sep 17 00:00:00 2001 From: kirbylife Date: Tue, 25 Jun 2024 22:42:06 -0600 Subject: [PATCH] Change gemini port --- .gitignore | 5 ++++- src/bin/gemini.rs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d3bd2d4..6c37690 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,7 @@ Cargo.lock proyectos # Rocket Config -Rocket.toml \ No newline at end of file +Rocket.toml + +# Certificates +*.pem \ No newline at end of file diff --git a/src/bin/gemini.rs b/src/bin/gemini.rs index b0d3f23..3c42cfa 100644 --- a/src/bin/gemini.rs +++ b/src/bin/gemini.rs @@ -37,6 +37,7 @@ async fn main() -> Result<(), Box> { .set_private_key_file("key.pem") .set_certificate_file("cert.pem") .set_languages(["es"]) + .set_port(1969) .enable_default_logger(true) .set_fix_path(true) .mount("/", move |_| {