fix(corp/ops): add CORS configuration for backend

Change-Id: Ia953523eff463bb98189735bf4cfad6390b8eb71
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8735
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-06-09 16:53:47 +03:00 committed by tazjin
parent fd98f0644f
commit f72d1f459d

View file

@ -131,6 +131,11 @@ resource "yandex_api_gateway" "rih_gateway" {
info: info:
version: 1.0.0 version: 1.0.0
title: RIH API title: RIH API
x-yc-apigateway:
cors:
origin: 'https://russiaishiring.com'
methods: '*'
allowedHeaders: '*'
paths: paths:
/{proxy+}: /{proxy+}:
x-yc-apigateway-any-method: x-yc-apigateway-any-method: