Skip to content

Commit

Permalink
feat(jzero): fix config.toml.tpl and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronnie committed Apr 24, 2024
1 parent 1c84398 commit 8ded45e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .template/jzero/config.toml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Port = 8001

[[Gateway.Upstreams]]
Name = "{{ .APP }}.gw"
ProtoSets = [ ".protosets/credential.pb", ".protosets/machine.pb" ]
ProtoSets = [ ".protosets/credential.pb" ]

[Gateway.Upstreams.Grpc]
Endpoints = [ "0.0.0.0:8000" ]
3 changes: 0 additions & 3 deletions docs/src/guide/gen.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ jzero gen 根据 daemon/desc/api 和 daemon/desc/proto 文件生成代码. 生

jzero 会自动检测对应文件夹下的内容, 然后进行自动生成, 使用者无需关心.

:::tip 暂时会修改 config.toml 文件配置排序, 并删除注释. 待寻找其他方式.
:::

## 生成代码

::: tip jzero version >= v0.7.4 可使用 Docker 生成代码
Expand Down

0 comments on commit 8ded45e

Please sign in to comment.