mirror of
https://github.com/kenzok8/openwrt-packages.git
synced 2025-11-01 08:18:52 +08:00
update 2023-05-07 13:40:38
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user