mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
fix invalid env name
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import crypto from "crypto";
|
||||
|
||||
const generateKey = () => {
|
||||
const env = process.env.NEXT_PUBLIC_ENCRYPTION_KEY;
|
||||
const env = process.env.ENCRYPTION_KEY;
|
||||
let data = !env
|
||||
? "next-drive-index"
|
||||
: env.length < 16
|
||||
|
||||
Reference in New Issue
Block a user