Skip to content

Commit 4dca13b

Browse files
committed
Small fixes typo in readme.
1 parent ca51b44 commit 4dca13b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OR
1717
docker run --name imagecdn -v /my/images/location:/var/lib/images -e API_KEY=EnterAdminKey -d pcpl2/easy_image_cdn:0.2.1
1818
```
1919

20-
This command launches the application with image conversion to 1024x720 and 800x600 enabled, with a maximum file size of 10Mb and your api key.
20+
This command launches the application with image conversion to 1024x720 and 800x600 enabled, with a maximum file size of 10Mb and your API key.
2121

2222

2323
### Example docker-compose config
@@ -55,9 +55,9 @@ Payload:
5555

5656
#### Public:
5757

58-
`http://localhost:9555/{Your image id}` -> Has return source image (if you have `image/webp` in accept header server will return the image in webp format).
58+
`http://localhost:9555/{Your image id}` -> Has returned source image (if you have `image/webp` in accept header server will return the image in webp format).
5959

60-
For get image in coverted resolution you add resolution value after image id. Example:
60+
To get the image in converted resolution, you add a resolution value after the image id. Example:
6161
`http://localhost:9555/{Your image id}/1024x720`
6262

6363
## Configuration
@@ -76,9 +76,9 @@ MAX_FILE_SIZE=10
7676
| Configuration key | Default value | Description |
7777
| ----------- | --------- | ----------- |
7878
| API_KEY | 00000000-0000-0000-0000-000000000000 | Api key for upload images |
79-
| API_KEY_HEADER | key | Header name for api key in request. |
79+
| API_KEY_HEADER | key | Header name for an API key in the request. |
8080
| CONVERT_TO_RES | 1024x720,800x600 | List of resolutions to which images will be converted. |
81-
| MAX_FILE_SIZE | 10 | Maximum size of file sent to the application in megabytes. |
81+
| MAX_FILE_SIZE | 10 | Maximum size of the file sent to the application in megabytes. |
8282
| CACHE_TIME | 30 | Image cache lifetime set in minutes. |
8383

8484

0 commit comments

Comments
 (0)