From 426f448621fab97388c6709c05efaf8fa5f9bcb0 Mon Sep 17 00:00:00 2001 From: Romain Monteil Date: Wed, 28 Apr 2021 10:54:41 +0200 Subject: [PATCH] Update serverless.yaml config --- bref/symfony-bridge/0.1/serverless.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bref/symfony-bridge/0.1/serverless.yaml b/bref/symfony-bridge/0.1/serverless.yaml index 15eb7591..868ff4d4 100644 --- a/bref/symfony-bridge/0.1/serverless.yaml +++ b/bref/symfony-bridge/0.1/serverless.yaml @@ -16,8 +16,8 @@ plugins: - ./vendor/bref/bref functions: - # This function run the Symfony application - website: + # This function runs the Symfony website/API + web: handler: public/index.php timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds) layers: @@ -40,7 +40,6 @@ package: - '!public/build/**' - '!tests/**' - '!var/**' - - '!.env' # If you want to include files and folders that are part of excluded folders, # add them at the end - 'var/cache/prod/**'