Skip to content

Commit b443fe1

Browse files
committed
try out imgix token revision
1 parent d1aed5b commit b443fe1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ NOTION_TOKEN=
2424
NOTION_POSTS_DATABASE_ID=
2525
NOTION_PHOTOS_DATABASE_ID=
2626
GOOGLE_ANALYTICS_ID=
27-
IMGIX_TOKEN=
27+
NEXT_PUBLIC_IMGIX_TOKEN=
2828
```
2929

3030
Install dependencies

components/image/imgix.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33

44
const client = new ImgixClient({
55
domain: 'zamiang.imgix.net',
6-
secureURLToken: process.env.IMGIX_TOKEN,
6+
secureURLToken: process.env.NEXT_PUBLIC_IMGIX_TOKEN,
77
});
88

99
export const signImageUrl = (imagePath: string, width = 640, height?: number) => {

0 commit comments

Comments
 (0)