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:
parent
44c3869b23
commit
47be8bd54a
4 changed files with 43 additions and 44 deletions
1
apps/backend/.gitignore
vendored
1
apps/backend/.gitignore
vendored
|
|
@ -1,6 +1,7 @@
|
|||
tmp
|
||||
images
|
||||
videos
|
||||
failed_requests
|
||||
bkp.xml
|
||||
.bin
|
||||
web.config
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
Todo:
|
||||
☐ https://medium.com/@felipedutratine/pass-environment-variables-from-docker-to-my-golang-2a967c5905fe
|
||||
dsdsd
|
||||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue