the .env file worked but was cached perhaps??? also use <Meta />

This commit is contained in:
Chris Kruining 2024-11-18 15:43:29 +01:00
parent 75ff164f01
commit 7b0e4d4879
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
4 changed files with 9 additions and 11 deletions

View file

@ -21,7 +21,7 @@ const getSession = async () => {
'use server';
return useSession<{ colorScheme: ColorSchemeKey }>({
password: process.env.SESSION_SECRET ?? 'some_static_password_because_untill_I_figure_out_env_files...',
password: process.env.SESSION_SECRET!,
});
};