Compare commits

..

No commits in common. "f843d89b745d60c60356d41a8f66e7f92a7375cf" and "90513d4007a5d37599d8f98ce142bf04eeb73379" have entirely different histories.

4 changed files with 86 additions and 5 deletions

5
.gitignore vendored
View File

@ -9,7 +9,4 @@ Cargo.lock
proyectos
# Rocket Config
Rocket.toml
# Certificates
*.pem
Rocket.toml

31
cert.pem 100644
View File

@ -0,0 +1,31 @@
-----BEGIN CERTIFICATE-----
MIIFazCCA1OgAwIBAgIUfrrLPPEvujX8T/aKVSwJKr1E00gwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yNDA2MjUwMTQyNThaFw0yNDA3
MjUwMTQyNThaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggIiMA0GCSqGSIb3DQEB
AQUAA4ICDwAwggIKAoICAQDYa/XTMXG6dG+LBlQMvc9qk6YG0DfwW//na1DYdS5e
XA2jjhPNJ/Fzro51D8zctUuN6RoiZS1w53REBs+3pSdX0Orfu3grdwSXbGz+pkJ1
pqaaseSKH7xp0bYFefWG8mhwdOxSA5h/O2Y62YJ1/2UGNmM6zyJo99Be05HnAc7c
RK6LcS1DtzsNQ/DDNmvQvHEx88AuF5F99JqzYoioaavDzzzIcRvXl8gvykPw74+i
T4jZ/hKS53y2v17ArQRz/eQO5EiDk2b8fj6BUuTUkjvOyHY31FjVlicMkOM0l2tE
cE/rj1HIONkzjBwOlVBobNovyVZTTXHa+NN83QbEy9rbo8na3IonQiUARzTabfR8
ZuHOLcgnH4JZI20IeLIsvcHBH762UXbFBS9vHVvY49MnclPudNQV4PhAqBGkgzos
4jLec7jxqfNYQ6IHZDKnJcFPGMgQwxXpuk3x6jGnsDbb39E+Dqfw+645GpsSxBiz
zRS3A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/9vAdTcl7X7VqcBS8TlTZ6KK7B8
Fx3iMjRL8/l77TlwPHoQxe9FUTmv2u4govWiLcDk3CUhQfatJURPZer1g2kh6FYF
mwFIH5TpX3CFJXdlZybNcA==
-----END ENCRYPTED PRIVATE KEY-----

View File

@ -37,7 +37,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.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 |_| {