why is my secret not comming through???
This commit is contained in:
parent
543f4033e6
commit
7120a76589
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ interface ColorSchemePickerProps {
|
||||||
const getSession = async () => {
|
const getSession = async () => {
|
||||||
'use server';
|
'use server';
|
||||||
|
|
||||||
|
console.log(process.env.SESSION_SECRET);
|
||||||
|
|
||||||
return useSession<{ colorScheme: ColorSchemeKey }>({
|
return useSession<{ colorScheme: ColorSchemeKey }>({
|
||||||
password: process.env.SESSION_SECRET!,
|
password: process.env.SESSION_SECRET!,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue