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

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

No files matched your search

+4
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>,