Drop ALL STARS

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2025-03-10 15:29:29 +08:00
committed by YumeMichi
parent fc55a09773
commit 782c2d7ab0
3288 changed files with 1 additions and 234137 deletions
+1 -3
View File
@@ -16,7 +16,6 @@ type AppConfigs struct {
type Settings struct {
SifCdnServer string `json:"sif_cdn_server"`
AsCdnServer string `json:"as_cdn_server"`
}
type UserPrefs struct {
@@ -36,7 +35,6 @@ func DefaultConfigs() *AppConfigs {
AppName: "honoka-chan",
Settings: Settings{
SifCdnServer: "http://192.168.1.123/static",
AsCdnServer: "http://192.168.1.123/static",
},
UserPrefs: UserPrefs{
Name: "梦路 @bilibili",
@@ -68,7 +66,7 @@ func Load(p string) *AppConfigs {
}
func (c *AppConfigs) Save(p string) error {
data, err := json.Marshal(c)
data, err := json.MarshalIndent(c, "", " ")
if err != nil {
return err
}