feat(backend): file transfer

This commit is contained in:
pycook
2025-06-08 11:21:29 +08:00
parent cfe1a98c7d
commit 070fccb5db
17 changed files with 4205 additions and 996 deletions

View File

@@ -26,7 +26,7 @@ func Error2RespMiddleware() gin.HandlerFunc {
// Skip middleware for session replay and file download endpoints
urlPath := ctx.Request.URL.String()
if strings.Contains(urlPath, "session/replay") ||
strings.Contains(urlPath, "/file/download/") {
strings.Contains(urlPath, "/download") {
ctx.Next()
return
}