feat: add CORS configuration and reorder JWT settings in application.yml
Build & Test (NowChessSystems) TeamCity build finished
Build & Test (NowChessSystems) TeamCity build finished
This commit is contained in:
@@ -76,6 +76,11 @@ nowchess:
|
|||||||
quarkus:
|
quarkus:
|
||||||
http:
|
http:
|
||||||
root-path: /api
|
root-path: /api
|
||||||
|
cors:
|
||||||
|
~: true
|
||||||
|
origins: ${CORS_ORIGINS}
|
||||||
|
methods: GET,POST,PUT,DELETE,OPTIONS
|
||||||
|
headers: Content-Type,Accept,Authorization
|
||||||
log:
|
log:
|
||||||
console:
|
console:
|
||||||
json: true
|
json: true
|
||||||
@@ -86,19 +91,6 @@ nowchess:
|
|||||||
exporter:
|
exporter:
|
||||||
otlp:
|
otlp:
|
||||||
endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:http://localhost:4317}
|
endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:http://localhost:4317}
|
||||||
mp:
|
|
||||||
jwt:
|
|
||||||
verify:
|
|
||||||
publickey:
|
|
||||||
location: ${JWT_PUBLIC_KEY_PATH:keys/public.pem}
|
|
||||||
issuer: nowchess
|
|
||||||
quarkus:
|
|
||||||
http:
|
|
||||||
cors:
|
|
||||||
~: true
|
|
||||||
origins: ${CORS_ORIGINS}
|
|
||||||
methods: GET,POST,PUT,DELETE,OPTIONS
|
|
||||||
headers: Content-Type,Accept,Authorization
|
|
||||||
grpc:
|
grpc:
|
||||||
clients:
|
clients:
|
||||||
rule-grpc:
|
rule-grpc:
|
||||||
@@ -117,6 +109,12 @@ nowchess:
|
|||||||
url: ${RULE_SERVICE_URL}
|
url: ${RULE_SERVICE_URL}
|
||||||
store-service:
|
store-service:
|
||||||
url: ${STORE_SERVICE_URL}
|
url: ${STORE_SERVICE_URL}
|
||||||
|
mp:
|
||||||
|
jwt:
|
||||||
|
verify:
|
||||||
|
publickey:
|
||||||
|
location: ${JWT_PUBLIC_KEY_PATH:keys/public.pem}
|
||||||
|
issuer: nowchess
|
||||||
nowchess:
|
nowchess:
|
||||||
redis:
|
redis:
|
||||||
host: ${REDIS_HOST}
|
host: ${REDIS_HOST}
|
||||||
|
|||||||
Reference in New Issue
Block a user