feat: add media asset system, channel lifecycle refactor, and chat attachments (#54)

This commit is contained in:
BBQ
2026-02-17 19:06:46 +08:00
committed by GitHub
parent 0bdc31311c
commit df7876a30c
106 changed files with 7942 additions and 1274 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ func JWTMiddleware(secret string, skipper middleware.Skipper) echo.MiddlewareFun
return echojwt.WithConfig(echojwt.Config{
SigningKey: []byte(secret),
SigningMethod: "HS256",
TokenLookup: "header:Authorization:Bearer ",
TokenLookup: "header:Authorization:Bearer ,query:token",
Skipper: skipper,
NewClaimsFunc: func(c echo.Context) jwt.Claims {
return jwt.MapClaims{}