refactor: 优化代码组织结构

This commit is contained in:
Akkia committed 2022-04-12 13:16:33 +08:00
1 parent 3d5e292d26
commit c65028188c
7 files changed
+281 -239

No files matched your search

+3
View File
@@ -98,6 +98,9 @@ func (c *Config) Read(path string) error {
if c.Site.Theme == "" {
c.Site.Theme = "default"
}
if c.GRPCPort == 0 {
c.GRPCPort = 5555
}
c.updateIgnoredIPNotificationID()
return nil