diff --git a/README.md b/README.md index cbd328e..f6af94e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ On linux systems you need to set the environment variable before run \ Install golang 1.16+ by instruction: https://golang.org/doc/install \ Goto dir to source\ Run build script under linux build-all.sh\ -For build web page need install npm\ +For build web page need install npm and yarn\ +For instal yarn: _npm i -g yarn_ after install npm\ For build android server need android toolchain\ Download android ndk and copy android-ndk-XXX/toolchains/llvm/prebuilt/linux-x86_64 dir to source, rename it to toolchain @@ -197,6 +198,8 @@ SberBank card: 4276 4000 6707 2919 ###### **tsynik** [github.com/tsynik](https://github.com/tsynik) +###### **dancheskus** [github.com/dancheskus](https://github.com/dancheskus) + ###### **Tw1cker Руслан Пахнев** [github.com/Nemiroff](https://github.com/Nemiroff) ###### **SpAwN_LMG** diff --git a/server/web/api/torrents.go b/server/web/api/torrents.go index 079eef2..b15b0d3 100644 --- a/server/web/api/torrents.go +++ b/server/web/api/torrents.go @@ -136,7 +136,7 @@ func remTorrent(req torrReqJS, c *gin.Context) { func listTorrent(req torrReqJS, c *gin.Context) { list := torr.ListTorrent() - if list == nil { + if len(list) == 0 { c.JSON(200, []*state.TorrentStatus{}) return } diff --git a/web/src/components/About.jsx b/web/src/components/About.jsx index 4daff3a..7dcb594 100644 --- a/web/src/components/About.jsx +++ b/web/src/components/About.jsx @@ -27,7 +27,7 @@ export default function AboutDialog() { - +

Thanks to everyone who tested and helped.

@@ -37,6 +37,8 @@ export default function AboutDialog() {
tsynik nikk Никита
github.com/tsynik
+ dancheskus github.com/dancheskus +
Tw1cker Руслан Пахнев github.com/Nemiroff
SpAwN_LMG