luci-app-v2ray-server: use xray by default

This commit is contained in:
CN_SZTL 2020-12-06 12:53:51 +08:00
parent 4f92143f08
commit 3255a69719
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 3 additions and 5 deletions

View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI support for V2ray Server
LUCI_DEPENDS:=+v2ray
LUCI_DEPENDS:=+xray
LUCI_PKGARCH:=all
PKG_VERSION:=1.1
PKG_RELEASE:=5
@ -14,5 +14,3 @@ PKG_RELEASE:=5
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature

View File

@ -1,5 +1,5 @@
<%
local v2ray_version=luci.sys.exec("[ -f '/usr/bin/v2ray/v2ray' ] && /usr/bin/v2ray/v2ray -version | awk '{print $2}' | sed -n 1P")
local v2ray_version=luci.sys.exec("[ -f '/usr/bin/v2ray' ] && /usr/bin/v2ray -version | awk '{print $2}' | sed -n 1P")
local dsp = require "luci.dispatcher"
-%>
@ -179,4 +179,4 @@ local dsp = require "luci.dispatcher"
<span id="_v2ray-check_btn-detail"></span>
</div>
</div>
</div>
</div>