From f72d1f459d5539719ff765a0ad162f40b711b667 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 9 Jun 2023 16:53:47 +0300 Subject: [PATCH] fix(corp/ops): add CORS configuration for backend Change-Id: Ia953523eff463bb98189735bf4cfad6390b8eb71 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8735 Reviewed-by: tazjin Tested-by: BuildkiteCI --- corp/ops/yandex/rih.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/corp/ops/yandex/rih.tf b/corp/ops/yandex/rih.tf index b9a6889c9..2db420835 100644 --- a/corp/ops/yandex/rih.tf +++ b/corp/ops/yandex/rih.tf @@ -131,6 +131,11 @@ resource "yandex_api_gateway" "rih_gateway" { info: version: 1.0.0 title: RIH API + x-yc-apigateway: + cors: + origin: 'https://russiaishiring.com' + methods: '*' + allowedHeaders: '*' paths: /{proxy+}: x-yc-apigateway-any-method: