Changed hash method again.

This commit is contained in:
Mike Cao committed 2022-04-25 19:11:54 -07:00
1 parent 86966f46e5
commit 1678d9e1ab
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ export function hash(...args) {
}
export function secret() {
return hash(process.env.DATABASE_URL, process.env.HASH_SALT);
return hash(process.env.HASH_SALT || process.env.DATABASE_URL);
}
export function salt() {