mirror of
https://github.com/snowball-tools/snowballtools-base
synced 2024-11-17 18:29:18 +00:00
Unset cookie domain to localhost by default (#100)
This commit is contained in:
parent
ef0eac8293
commit
f7c45ca045
@ -87,7 +87,6 @@ export const createAndStartServer = async (
|
||||
secure: new URL(appOriginUrl).protocol === 'https:',
|
||||
// TODO: Set cookie maxAge and handle cookie expiry in frontend
|
||||
// maxAge: SESSION_COOKIE_MAX_AGE,
|
||||
domain: 'localhost',
|
||||
sameSite: new URL(appOriginUrl).protocol === 'https:' ? 'none' : 'lax'
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user