update 2023-07-05 20:11:32

This commit is contained in:
github-actions[bot]
2023-07-05 20:11:32 +08:00
parent a6e9cc6009
commit f089ecba9c
3 changed files with 3 additions and 14 deletions

View File

@ -7,13 +7,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=alist
PKG_VERSION:=3.20.0
PKG_VERSION:=3.20.1
PKG_WEB_VERSION:=3.20.0
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/alist-org/alist/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=657801b4e785e79f2d6ce861390e7c451caabc17d287a9f5f9a90265400e9f4e
PKG_HASH:=c30e6dfdb0e39615bfcecb17da3a9a643054c6f0eb819d5f45148d2cd0ce2955
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILE:=LICENSE

View File

@ -1,11 +0,0 @@
--- a/cmd/server.go
+++ b/cmd/server.go
@@ -56,7 +56,7 @@ the address is defined in config file`,
}()
}
if conf.Conf.Scheme.HttpsPort != -1 {
- httpsBase := fmt.Sprintf("%s:%d", conf.Conf.Scheme.Address, conf.Conf.Scheme.HttpPort)
+ httpsBase := fmt.Sprintf("%s:%d", conf.Conf.Scheme.Address, conf.Conf.Scheme.HttpsPort)
utils.Log.Infof("start HTTPS server @ %s", httpsBase)
httpsSrv = &http.Server{Addr: httpsBase, Handler: r}
go func() {

View File

@ -88,7 +88,7 @@ start_service() {
"database": {
"type": "$database",
"host": "$mysql_host",
"port": "$mysql_port",
"port": $mysql_port,
"user": "$mysql_username",
"password": "$mysql_password",
"name": "$mysql_database",