mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-08-02 12:24:52 +02:00
steam login
This commit is contained in:
parent
6e456a6596
commit
fc5cd1d24f
12 changed files with 926 additions and 70 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue