From d36c20658ed57d7eb605988d7f8cb7ce957c7782 Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Sun, 13 Mar 2022 01:03:18 +0100 Subject: [PATCH] Serverles api template: Fix spelling --- .../cli/src/commands/setup/deploy/templates/serverless/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/commands/setup/deploy/templates/serverless/api.js b/packages/cli/src/commands/setup/deploy/templates/serverless/api.js index 8710515e6ff4..61feec1166e2 100644 --- a/packages/cli/src/commands/setup/deploy/templates/serverless/api.js +++ b/packages/cli/src/commands/setup/deploy/templates/serverless/api.js @@ -20,12 +20,12 @@ useDotenv: true provider: name: aws runtime: nodejs14.x - region: us-east-1 # AWS region where the service will be deployed, defaults to N. Virgina + region: us-east-1 # AWS region where the service will be deployed, defaults to N. Virginia httpApi: # HTTP API is used by default. To learn about the available options in API Gateway, see https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html cors: allowedOrigins: - '*' # This is the default value. You can remove this line if you want to restrict the CORS to a specific origin. - # allowCredentials: true # allowCrednetials should only be used when allowedOrigins doesn't include '*' + # allowCredentials: true # allowCredentials should only be used when allowedOrigins doesn't include '*' allowedHeaders: - authorization - auth-provider