lame and lazy fix for now...
This commit is contained in:
parent
1409e6761a
commit
12f10d4ee1
1 changed files with 1 additions and 3 deletions
|
@ -20,10 +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 ?? 'some_static_password_because_untill_I_figure_out_env_files...',
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue