Compare commits

...

2 Commits

Author SHA1 Message Date
action
77d4586a9c update 2026-07-06 23:20:22 2026-07-06 23:20:22 +08:00
action
e60eeb7039 update 2026-07-06 16:15:18 2026-07-06 16:15:18 +08:00
3 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
'use strict';
import { cursor } from 'uci';
import { isEmpty, parseURL } from 'homeproxy';
import { isEmpty, parseURL, validation } from 'homeproxy';
const uci = cursor();

View File

@ -179,9 +179,9 @@ insert_nftset() {
printf "%s\n" "$@"
else
cat
fi | tr -s ' \t' '\n' | awk -v s="$suffix" -v n="$nftset_name" -v t="$NFTABLE_NAME" '
{
gsub(/^[ \t\r]+|[ \t\r]+$/, "");
fi | awk -v s="$suffix" -v n="$nftset_name" -v t="$NFTABLE_NAME" '
BEGIN {
RS = "[ \t\n\r]+"
}
$0 != "" {
if (first == 0) {

View File

@ -21,16 +21,16 @@ define Download/geoip
HASH:=b71d1999439dde2de2d2b6844a2befa50c50211ff739785c005ca7c230a17d6a
endef
GEOSITE_VER:=20260705030346
GEOSITE_VER:=20260706034657
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
define Download/geosite
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
URL_FILE:=dlc.dat
FILE:=$(GEOSITE_FILE)
HASH:=2ffaca61cdda08aabb856b25aa607ed9a292065de82a6e63333a891b16f8d377
HASH:=79259090bb43e906a74fcb59b7e4b4afc83e8238a0d75f15f55f5f71e62671e9
endef
GEOSITE_IRAN_VER:=202606290159
GEOSITE_IRAN_VER:=202607060129
GEOSITE_IRAN_FILE:=iran.dat.$(GEOSITE_IRAN_VER)
define Download/geosite-ir
URL:=https://github.com/bootmortis/iran-hosted-domains/releases/download/$(GEOSITE_IRAN_VER)/