From c3165272ba9ec67e8dd12ef6892d2cd55fc7b100 Mon Sep 17 00:00:00 2001 From: DVKunion Date: Fri, 7 Jul 2023 11:48:16 +0800 Subject: [PATCH] hotfix: some docs and code format --- .github/workflows/build.yml | 3 --- .github/workflows/release.yml | 4 +--- cmd/aliyun_server.go | 3 ++- ...42\346\210\267\347\253\257\351\205\215\347\275\256.md" | 8 ++++++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7edad7a..291ce56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,17 +8,14 @@ on: branches: [ main ] jobs: - build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.18 - - name: Build run: go build --ldflags "-s -w -X github.com/DVKunion/SeaMoon/pkg/consts.Version=${{github.ref_name}}" cmd/client.go diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c85cf19..de51b9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,13 +14,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.18 id: go - - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: @@ -29,4 +27,4 @@ jobs: args: -f .github/conf/.goreleaser.yml workdir: . env: - GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }} \ No newline at end of file diff --git a/cmd/aliyun_server.go b/cmd/aliyun_server.go index da41509..5fbd6f7 100644 --- a/cmd/aliyun_server.go +++ b/cmd/aliyun_server.go @@ -1,9 +1,10 @@ package main import ( + "os" + "github.com/DVKunion/SeaMoon/pkg/consts" "github.com/DVKunion/SeaMoon/pkg/server" - "os" ) func main() { diff --git "a/docs/guide/03.\345\256\242\346\210\267\347\253\257/02.\345\256\242\346\210\267\347\253\257\351\205\215\347\275\256.md" "b/docs/guide/03.\345\256\242\346\210\267\347\253\257/02.\345\256\242\346\210\267\347\253\257\351\205\215\347\275\256.md" index 8590ca7..b6cf3ed 100644 --- "a/docs/guide/03.\345\256\242\346\210\267\347\253\257/02.\345\256\242\346\210\267\347\253\257\351\205\215\347\275\256.md" +++ "b/docs/guide/03.\345\256\242\346\210\267\347\253\257/02.\345\256\242\346\210\267\347\253\257\351\205\215\347\275\256.md" @@ -29,7 +29,11 @@ article: false 添加云端配置 -![](https://cdn.dvkunion.cn/seamoon/5e79ecb2bd374dbe9d89f33f750e2f42.png) +![](https://cdn.dvkunion.cn/seamoon/dfcc22b01c4a4f358bdee59acc5c563b.png) + +> 这里注意不需要带协议了,请使用完整的域名即可如: +> http-proxy.seamoon-service.xxxxxx.xxxx.fc.devsapp.net +> socks-proxy.seamoon-service.xxxxxxxx.xxxxxx.fc.devsapp.net 然后按照你的需求,选在开启本地的http代理/socks5代理 @@ -64,6 +68,6 @@ v1.0.0 中,客户端运行后,会自动在运行目录下生成证书文件 | proxy | 客户端运行模式: 代理模式 | 无 | | -m / --mod | 代理模式 :http/socks5 | http | | -l / --laddr | 本地代理地址: 127.0.0.1:9000 | :9000 | -| -p / --paddr | 云端代理地址: http://xxxxxxx.xxxx.xxxx | ws://xxxxxxx.xxxx.xxxx | 无 | +| -p / --paddr | 云端代理地址: xxxxxxx.xxxx.xxxx | ws://xxxxxxx.xxxx.xxxx | 无 | | -v /--verbose | 是否展示代理日志详情 | false |