Merge branch 'master' into old-engine

This commit is contained in:
nikk gitanes
2023-10-12 04:22:20 +03:00
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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")