[Add] Docker compose [Add] setup.sh [Add] mewjo, xlagging as Mod's [Add]
T1X's icon [Fix] Some QOL
This commit is contained in:
parent
dbcd6630ce
commit
51f37c11a9
12 changed files with 53 additions and 30 deletions
|
|
@ -6,7 +6,6 @@ use axum::{
|
|||
response::{IntoResponse, Response},
|
||||
routing::get,
|
||||
};
|
||||
use axum_server::tls_rustls::RustlsConfig;
|
||||
use std::net::SocketAddr;
|
||||
use std::path::PathBuf;
|
||||
use tokio::fs;
|
||||
|
|
@ -91,11 +90,6 @@ async fn main() {
|
|||
axum::serve(listener, http_app).await.unwrap();
|
||||
});
|
||||
|
||||
// HTTPS on port 443
|
||||
let certs_dir = website_root.join("certs");
|
||||
let cert_path = certs_dir.join("cert.pem");
|
||||
let key_path = certs_dir.join("key.pem");
|
||||
|
||||
http_handle.await.unwrap();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue