Enable auth-service/api-gateway on production, build their images in CI

This commit is contained in:
2026-08-18 14:11:00 +07:00
parent e5afedfa2f
commit b68005be1c
70 changed files with 6781 additions and 263 deletions
+5
View File
@@ -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