Skip to content

Commit 7544909

Browse files
committed
Specify that WHITELIST is an optional parameter
1 parent 4911131 commit 7544909

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ or
138138
* * **Function code -> Code entry type -> Upload a .zip file** upload a zip file
139139
* * In **Runtime**, select the latest version of Node.js that you found on [Releases](https://github.com/sagidM/s3-resizer/releases)
140140
* * [You can now click on **Save** to save your time because it takes a while to upload a zip file]
141-
* * Set up these three **Environment variables** _(format: key=value)_
141+
* * Set up the following **Environment variables** _(format: key=value)_
142142
**BUCKET**=_your bucket's name_
143143
**URL**=**Endpoint** you copied before (from Static website hosting)
144-
**WHITELIST**= your list (space-separated) of allowed size options (e.g. AUTOx150 300x200 100x100_max)
144+
**WHITELIST**=your list (space-separated) of allowed size options (e.g. AUTOx150 300x200 100x100_max). This parameter is optional, if not provided, the lambda will process everything
145145
* * In **Basic settings**
146146
* * * Allocate 768mb memory
147147
* * * Timeout could be 5 seconds

0 commit comments

Comments
 (0)