why is my secret not comming through???

This commit is contained in:
Chris Kruining 2024-11-18 14:01:11 +01:00
parent 543f4033e6
commit 7120a76589
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -20,6 +20,8 @@ interface ColorSchemePickerProps {
const getSession = async () => {
'use server';
console.log(process.env.SESSION_SECRET);
return useSession<{ colorScheme: ColorSchemeKey }>({
password: process.env.SESSION_SECRET!,
});