mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Update msx.go
This commit is contained in:
@@ -6,13 +6,14 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"server/settings"
|
||||
"server/torr"
|
||||
"server/utils"
|
||||
"server/version"
|
||||
"server/web/auth"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
@@ -37,6 +38,7 @@ func trn(h string) (st, sc string) {
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func rsp(c *gin.Context, r *http.Response, e error) {
|
||||
if e != nil {
|
||||
c.AbortWithError(http.StatusInternalServerError, e)
|
||||
|
||||
Reference in New Issue
Block a user