feat: change default singleton port and support to change the port

This commit is contained in:
GyDi
2022-09-06 00:45:01 +08:00
parent 5f3a71ed5f
commit 72dcdf4483
4 changed files with 36 additions and 24 deletions

View File

@@ -5,6 +5,10 @@ use serde::{Deserialize, Serialize};
/// ### `verge.yaml` schema
#[derive(Default, Debug, Clone, Deserialize, Serialize)]
pub struct Verge {
/// app listening port
/// for app singleton
pub app_singleton_port: Option<u16>,
// i18n
pub language: Option<String>,