steam login

This commit is contained in:
Robin Appelman 2023-04-09 15:33:31 +02:00
commit fc5cd1d24f
12 changed files with 926 additions and 70 deletions

View file

@ -10,6 +10,7 @@ use std::path::PathBuf;
pub struct Config {
pub listen: Listen,
pub database: DbConfig,
pub site: SiteConfig,
}
impl Config {
@ -46,3 +47,8 @@ pub enum Listen {
Socket { path: PathBuf },
Tcp { address: IpAddr, port: u16 },
}
#[derive(Debug, Deserialize)]
pub struct SiteConfig {
pub url: String,
}