lame and lazy fix for now...

This commit is contained in:
Chris Kruining 2024-11-18 15:19:05 +01:00
parent 1409e6761a
commit 12f10d4ee1
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -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...',
}); });
}; };