Commit ac68ea046e72176270641040d50f84b05fde0d29

Authored by 刘岱鹏
1 parent fbb40509

添加配置

Showing 1 changed file with 3 additions and 1 deletions
class-service.yml
@@ -115,7 +115,9 @@ graphql: @@ -115,7 +115,9 @@ graphql:
115 servlet: 115 servlet:
116 mapping: /graphql 116 mapping: /graphql
117 enabled: true 117 enabled: true
118 - corsEnabled: true 118 + corsEnabled: true
  119 + tools:
  120 + schemaLocationPattern: "**/*.graphqls"
119 121
120 #这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建) 122 #这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建)
121 #为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建) 123 #为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建)