Browse Source

update gw config;

update LEDGER_PREFIX
tags/1.6.5
liuyuanmu 1 year ago
parent
commit
2aad9cb981
3 changed files with 6 additions and 6 deletions
  1. +1
    -1
      core
  2. +4
    -4
      deploy/deploy-gateway/src/main/resources/config/application-gw.properties
  3. +1
    -1
      test

+ 1
- 1
core

@@ -1 +1 @@
Subproject commit 6689d7d59ebe65dcec4f450ca4f50ec809517bb0
Subproject commit 517390b035364ebadd4611ead73048b34aec3115

+ 4
- 4
deploy/deploy-gateway/src/main/resources/config/application-gw.properties View File

@@ -30,7 +30,7 @@ server.compression.mime-types=application/json,application/xml,text/html,text/xm
# 浏览器鉴权,设置用户名/密码,若没有配置则区块链浏览器完全开放
spring.security.user.name=jdchain
spring.security.user.password=jdchain
# 针对SDK和命令行工具,以下是提交交易必须开放的接口:账本列表+秘钥算法配置+提交交易接口
spring.security.ignored=/ledgers,/ledgers/*/settings/crypto,/rpc/tx
# 针对SDK和命令行工具,以下是查询必须开放的接口:
#spring.security.ignored=/ledgers/**
# 免鉴权接口
# 提交交易必须开放的接口:账本列表(/ledgers)+秘钥算法配置(/ledgers/*/settings/crypto)+提交交易接口(/rpc/tx)
# 1.6.5默认配置:完全放开网关交易提交和数据查询接口。如有需要请自行修改,修改后重启网关生效。
spring.security.ignored=/ledgers/**,/rpc/tx

+ 1
- 1
test

@@ -1 +1 @@
Subproject commit b715264b8e4395fdbd3af61498aaaf61b9de797b
Subproject commit 12af67aa34e465c8c5cef120956cb4badcf0db93

Loading…
Cancel
Save