Enable auth-service/api-gateway on production, build their images in CI
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/** Shared between the login/logout/me route handlers and `middleware.ts` —
|
||||
* kept dependency-free (no Node-only imports) so `middleware.ts` can import
|
||||
* it too; Next's Edge runtime middleware can't use arbitrary Node APIs. */
|
||||
export const SESSION_COOKIE = "dt_session";
|
||||
export const SESSION_MAX_AGE_SECONDS = 12 * 60 * 60; // matches auth-service's default JWT_EXPIRES_IN
|
||||
Reference in New Issue
Block a user