Commit 48b94e69 authored by 李欣峰's avatar 李欣峰

Merge remote-tracking branch 'upstream/master'

parents f9f969a5 9860fc86
server:
port: 10008
spring:
application:
name: api-service-gateway
cloud:
gateway:
globalcors:
cors-configurations:
'[/**]':
# 允许跨域的源(网站域名/ip),设置*为全部
# 允许跨域请求里的head字段,设置*为全部
# 允许跨域的method, 默认为GET和OPTIONS,设置*为全部
allow-credentials: true
allowed-origins: "*"
allowed-headers: "*"
allowed-methods:
- OPTIONS
- GET
- POST
- DELETE
- PUT
- PATCH
max-age: 3600
api-service-address:
path: /v1/apiService/**
uri: http://192.168.70.46:6725
url: http://192.168.70.46:6725/v1/dataService/api/getApiLimit
cloud:
gateway:
default-filters:
- DedupeResponseHeader=Access-Control-Allow-Origin, RETAIN_UNIQUE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment