fix: prevent cookie manager from racing env init

this fixes a bug where using LOAD_ENV_FILE did not work with COOKIE_SECRET
This commit is contained in:
Aarnav Tale 2025-01-06 08:11:45 +05:30
parent a4bb3cce5f
commit 7217659720
No known key found for this signature in database
15 changed files with 97 additions and 46 deletions

View file

@ -16,7 +16,7 @@ import {
} from 'oauth4webapi';
import { post } from '~/utils/headscale';
import { commitSession, getSession } from '~/utils/sessions';
import { commitSession, getSession } from '~/utils/sessions.server';
import log from '~/utils/log';
import type { HeadplaneContext } from './config/headplane';