feat: enhance file handling and logging in the application

This commit is contained in:
CaIon
2025-04-11 16:23:54 +08:00
parent 8a2332074f
commit cca9c0479f
5 changed files with 82 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ var indexPage []byte
func main() {
err := godotenv.Load(".env")
if err != nil {
common.SysLog("Support for .env file is disabled")
common.SysLog("Support for .env file is disabled: " + err.Error())
}
common.LoadEnv()