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:
parent
fd98f0644f
commit
f72d1f459d
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue