feat: enhance file handling and logging in the application

This commit is contained in:
CaIon committed 2025-04-11 16:23:54 +08:00
1 parent 7e0d4cd055
commit 577b18a1a1
5 files changed
+82 -9

No files matched your search

+1 -1
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()