Skip to content
This repository was archived by the owner on Oct 31, 2018. It is now read-only.

Commit d37185a

Browse files
committed
Fix whitespace
1 parent 92f286f commit d37185a

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

README.md

+18-17
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,34 @@ image will be served from S3 directly.
2727

2828
2. Deploy the CloudFormation stack
2929

30-
Run `bin/deploy` to deploy the CloudFormation stack. It will create a
31-
temporary Amazon S3 bucket, package and upload the function, and create the
32-
Lambda function, Amazon API Gateway RestApi, and an S3 bucket for images via
33-
CloudFormation.
30+
Run `bin/deploy` to deploy the CloudFormation stack. It will create a
31+
temporary Amazon S3 bucket, package and upload the function, and create the
32+
Lambda function, Amazon API Gateway RestApi, and an S3 bucket for images via
33+
CloudFormation.
3434

35-
The deployment script requires the [AWS CLI][cli] version 1.11.19 or newer to
36-
be installed.
35+
The deployment script requires the [AWS CLI][cli] version 1.11.19 or newer
36+
to be installed.
3737

3838
3. Test the function
3939

40-
Upload an image to the S3 bucket and try to resize it via your web browser to
41-
different sizes, e.g. with an image uploaded in the bucket called image.png:
40+
Upload an image to the S3 bucket and try to resize it via your web browser
41+
to different sizes, e.g. with an image uploaded in the bucket called
42+
image.png:
4243

43-
- http://[BucketWebsiteHost]/300x300/path/to/image.png
44-
- http://[BucketWebsiteHost]/90x90/path/to/image.png
45-
- http://[BucketWebsiteHost]/40x40/path/to/image.png
44+
- http://[BucketWebsiteHost]/300x300/path/to/image.png
45+
- http://[BucketWebsiteHost]/90x90/path/to/image.png
46+
- http://[BucketWebsiteHost]/40x40/path/to/image.png
4647

47-
You can find the `BucketWebsiteUrl` in the table of outputs displayed on a
48-
successful invocation of the deploy script.
48+
You can find the `BucketWebsiteUrl` in the table of outputs displayed on a
49+
successful invocation of the deploy script.
4950

5051
4. (Optional) Restrict resize dimensions
5152

52-
To restrict the dimensions the function will create, set the environment
53-
variable `ALLOWED_DIMENSIONS` to a string in the format
54-
*(HEIGHT)x(WIDTH),(HEIGHT)x(WIDTH),...*.
53+
To restrict the dimensions the function will create, set the environment
54+
variable `ALLOWED_DIMENSIONS` to a string in the format
55+
*(HEIGHT)x(WIDTH),(HEIGHT)x(WIDTH),...*.
5556

56-
For example: *300x300,90x90,40x40*.
57+
For example: *300x300,90x90,40x40*.
5758

5859
## License
5960

0 commit comments

Comments
 (0)