Unset cookie domain to localhost by default (#100)

This commit is contained in:
2024-02-22 17:52:49 +05:30
committed by GitHub
parent ef0eac8293
commit f7c45ca045
-1
View File
@@ -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'
}
};