update 2023-05-07 13:40:38

This commit is contained in:
github-actions[bot]
2023-05-07 13:40:38 +08:00
parent 0b0be71f3e
commit 81473b0bbd
2 changed files with 3 additions and 4 deletions

View File

@ -30,12 +30,11 @@ PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
PKG_ALIST:=github.com/alist-org/alist/v3/internal/conf
GO_PKG:=github.com/alist-org/alist
GO_PKG_LDFLAGS:=-w -s
GO_PKG_LDFLAGS_X:= \
$(PKG_ALIST).Version=v$(PKG_VERSION)-$(ARCH) \
$(PKG_ALIST).WebVersion=$(PKG_WEB_VERSION)
$(GO_PKG)/v3/internal/conf.Version=v$(PKG_VERSION)-$(ARCH) \
$(GO_PKG)/v3/internal/conf.WebVersion=$(PKG_WEB_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk

View File

@ -39,7 +39,7 @@ o.default = "0"
o.rmempty = false
o = s:option(Value, "token_expires_in", translate("Login Validity Period (hours)"))
o.datatype = "and(uinteger,min(0))"
o.datatype = "and(uinteger,min(1))"
o.default = "48"
o.rmempty = false