the .env file worked but was cached perhaps??? also use <Meta />
This commit is contained in:
parent
75ff164f01
commit
7b0e4d4879
4 changed files with 9 additions and 11 deletions
|
@ -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!,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue