mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-06 07:13:39 +00:00
Add Dockerfile
This commit is contained in:
2
backend/.dockerignore
Normal file
2
backend/.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
.git
|
||||
.github
|
@@ -90,6 +90,7 @@ func (a *App) listTopics(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
func (a *App) refreshDeals() {
|
||||
topics := a.getDeals(9, 1, 10)
|
||||
// only drop deals if a timer has been met
|
||||
log.Debug().Msg("Dropping deals")
|
||||
a.DB.DropTable(&Topic{})
|
||||
log.Debug().Msg("Refreshing the deals")
|
||||
|
Reference in New Issue
Block a user