diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..3f0ad0c --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: ['https://github.com/bjdgyc/anylink/blob/main/doc/README.md'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/README.md b/README.md index 42e45aa..f60d79a 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ sudo ./anylink 1. 开启服务器转发 ```shell -# flie: /etc/sysctl.conf +# file: /etc/sysctl.conf net.ipv4.ip_forward = 1 #执行如下命令 diff --git a/server/dbdata/user_act_log.go b/server/dbdata/user_act_log.go index b14e677..ac9c506 100644 --- a/server/dbdata/user_act_log.go +++ b/server/dbdata/user_act_log.go @@ -155,7 +155,7 @@ func (ua *UserActLogProcess) ParseUserAgent(userAgent string) (os_idx, client_id } else if strings.Contains(userAgent, "anylink") { client_idx = 3 } - // Verion + // Version uaSlice := strings.Split(userAgent, " ") ver = uaSlice[len(uaSlice)-1] if ver[0] == 'v' { diff --git a/web/src/pages/group/List.vue b/web/src/pages/group/List.vue index 69dab52..ab74744 100644 --- a/web/src/pages/group/List.vue +++ b/web/src/pages/group/List.vue @@ -235,16 +235,16 @@ LDAP - + - +