#[deny(warnings)]
use std::net::SocketAddr;
use crate::filters;
#[tokio::main]
pub async fn start(){
let api = filters::comments();
let ip_address = super::config("frontend_server_ip_address"); let cert_path = super::config("cert_path");
let key_path = super::config("key_path");
let socket_address: SocketAddr = ip_address.as_str().parse().unwrap(); warp::serve(api)
.tls()
.cert_path(cert_path)
.key_path(key_path)
.run(socket_address)
.await;
}