chore: update .gitignore to include failed_requests and remove TODO file; refactor backup routes in server.go to comment out unused code

This commit is contained in:
Marco Pedone 2026-01-19 16:48:21 +01:00
parent 44c3869b23
commit 47be8bd54a
4 changed files with 43 additions and 44 deletions

View file

@ -1,6 +1,7 @@
tmp
images
videos
failed_requests
bkp.xml
.bin
web.config

View file

@ -1,4 +0,0 @@
Todo:
☐ https://medium.com/@felipedutratine/pass-environment-variables-from-docker-to-my-golang-2a967c5905fe
dsdsd

View file

@ -93,7 +93,7 @@ func Load() *Config {
})
if err := exec.Command("ffmpeg", "-version").Run(); err != nil {
log.Errorf("FFmpeg not found: %w", err)
log.Errorf("FFmpeg not found: %v", err)
Cfg.Videos.Enabled = false
}

View file

@ -199,6 +199,7 @@ func (s *Server) SetupRoutes() *echo.Echo {
})
// BACKUP ROUTES
/*
e.GET("/upload-backup", func(c echo.Context) error {
return c.Render(http.StatusOK, "backup-upload", nil)
})
@ -238,6 +239,7 @@ func (s *Server) SetupRoutes() *echo.Echo {
}
return c.String(http.StatusOK, "Setted")
})
*/
//IMAGE ROUTES
e.GET("/initcwebp", func(c echo.Context) error {