Serialize transcode jobs

This commit is contained in:
Carl Pearson
2024-09-11 05:42:59 -06:00
parent 663a6f5e88
commit e81362b531
6 changed files with 294 additions and 157 deletions

View File

@@ -22,7 +22,6 @@ func authMiddleware(next echo.HandlerFunc) echo.HandlerFunc {
// return c.String(http.StatusForbidden, "not logged in")
return c.Redirect(http.StatusSeeOther, "/login")
}
fmt.Println("set user_id", userID, "in context")
c.Set("user_id", userID)
return next(c)
}