refactor: consolidate maintenance mode endpoints and enhance site status handling

This commit is contained in:
Jacky 2025-04-08 02:53:21 +00:00
parent a2d5f005b0
commit df304b41bc
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
29 changed files with 2102 additions and 1816 deletions

View file

@ -23,7 +23,7 @@ func CheckAndCreateHistory(path string, content string) error {
// Read the current content of the file
currentContent, err := os.ReadFile(path)
if err != nil {
return err
return nil
}
// Compare the contents