[BE-setup] Update CORS_ORIGIN to serverless.yml

This commit is contained in:
Dosun Yun
2022-10-27 16:52:11 +09:00
parent 94d85b2da9
commit dbc10f0c0f

View File

@@ -28,6 +28,7 @@ provider:
DB_USERNAME: ${self:custom.DB_CONFIG.${self:custom.STAGE}.DB_USERNAME}
DB_PASSWORD: ${self:custom.DB_CONFIG.${self:custom.STAGE}.DB_PASSWORD}
DB_NAME: ${self:custom.DB_CONFIG.${self:custom.STAGE}.DB_NAME}
CORS_ORIGIN: ${file(./config.serverless.yml):CORS_ORIGIN}
apiGateway:
binaryMediaTypes:
- '*/*'