Skip to content

Commit

Permalink
remove imagekit support
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiakbar committed Sep 16, 2023
1 parent 69483c1 commit 470f3d5
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 743 deletions.
6 changes: 0 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ PORT=8000
# Storage type for save image
# valid :
# - S3
# - imagekit
STORAGE_TYPE=S3

# if use S3 as storage
Expand All @@ -14,11 +13,6 @@ S3_ENDPOINT=
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=

# if use imagekit as storage
IMAGEKIT_PUBLIC_KEY=<YOUR_IMAGEKIT_PUBLIC_KEY>
IMAGEKIT_PRIVATE_KEY=<YOUR_IMAGEKIT_PRIVATE_KEY>
URL_ENDPOINT=<YOUR_IMAGEKIT_ENDPOINT>

# separated by space and please provide (dot) before list the extension
ALLOWED_FILE_TYPE=.jpeg .jpg .png
MAX_FILE_UPLOAD=5
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,12 @@ cp .env.example .env
```

Fill the required `env` variables:
> note: get Imagekit key from [Imagekit.io](https://imagekit.io/)
```bash
PORT=3000
# Storage type for save image
# valid :
# - S3
# - imagekit
STORAGE_TYPE=S3
# if use S3 as storage
Expand All @@ -135,11 +133,6 @@ S3_ENDPOINT=
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
# if use imagekit as storage
IMAGEKIT_PUBLIC_KEY=<YOUR_IMAGEKIT_PUBLIC_KEY>
IMAGEKIT_PRIVATE_KEY=<YOUR_IMAGEKIT_PRIVATE_KEY>
URL_ENDPOINT=<YOUR_IMAGEKIT_ENDPOINT>
# separated by space and please provide (dot) before list the extension
ALLOWED_FILE_TYPE=.jpeg .jpg .png
MAX_FILE_UPLOAD=5
Expand Down
Loading

0 comments on commit 470f3d5

Please sign in to comment.