From 4d15fe286a366916b975722be84d94595d89b5ac Mon Sep 17 00:00:00 2001 From: bjdgyc Date: Mon, 27 Feb 2023 14:42:46 +0800 Subject: [PATCH 1/2] Create FUNDING.yml add Sponsors --- .github/FUNDING.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/FUNDING.yml 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'] From 26d20c0b40daf9e15a74c9f9e858a3bf8e239ba1 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 10 Apr 2023 22:37:13 +0200 Subject: [PATCH 2/2] Fix typos found by codespell --- README.md | 2 +- server/dbdata/user_act_log.go | 2 +- web/src/pages/group/List.vue | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2fa67dd..d724216 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,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 1b4b816..3d17fb1 100644 --- a/web/src/pages/group/List.vue +++ b/web/src/pages/group/List.vue @@ -235,16 +235,16 @@ LDAP - + - +