mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Merge branch 'master' into old-engine
This commit is contained in:
@@ -8,7 +8,7 @@ RUN yarn install && yarn run build
|
|||||||
|
|
||||||
|
|
||||||
### BUILD TORRSERVER MULTIARCH START ###
|
### BUILD TORRSERVER MULTIARCH START ###
|
||||||
FROM --platform=$BUILDPLATFORM golang:1.20-alpine as builder
|
FROM --platform=$BUILDPLATFORM golang:1.21.2-alpine as builder
|
||||||
|
|
||||||
COPY . /opt/src
|
COPY . /opt/src
|
||||||
COPY --from=front /app/build /opt/src/web/build
|
COPY --from=front /app/build /opt/src/web/build
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import (
|
|||||||
const Version = "MatriX.126.XO"
|
const Version = "MatriX.126.XO"
|
||||||
|
|
||||||
func GetTorrentVersion() string {
|
func GetTorrentVersion() string {
|
||||||
// _ = torrent.NewDefaultClientConfig()
|
|
||||||
bi, ok := debug.ReadBuildInfo()
|
bi, ok := debug.ReadBuildInfo()
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Printf("Failed to read build info")
|
log.Printf("Failed to read build info")
|
||||||
|
|||||||
Reference in New Issue
Block a user