diff --git a/lib/unsplash.ts b/lib/unsplash.ts
index 098d29f..17c8eae 100644
--- a/lib/unsplash.ts
+++ b/lib/unsplash.ts
@@ -1,6 +1,6 @@
 import { createApi } from 'unsplash-js';
 
 export const unsplash = createApi({
-  accessKey: process.env.NEXT_PUBLIC_UNSPLASH_ACCESS_KEY!,
+  accessKey: process.env.UNSPLASH_ACCESS_KEY!,
   fetch: fetch,
 });