260320:1659 Refactor Overrall #09 Fix by antigravity: pnpm frontend deploy
Build and Deploy / deploy (push) Successful in 7m17s

This commit is contained in:
admin
2026-03-20 16:59:10 +07:00
parent 321cf4a31c
commit 2d56c07eae
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ const loginSchema = z.object({
password: z.string().min(1),
});
const baseUrl = process.env.NEXT_PUBLIC_API_URL || "http://localhost:3001/api";
const baseUrl = (typeof window === "undefined" ? process.env.INTERNAL_API_URL : null) || process.env.NEXT_PUBLIC_API_URL || "http://localhost:3001/api";
// Helper to parse JWT expiry
function getJwtExpiry(token: string): number {
@@ -119,6 +119,8 @@ services:
# --- NextAuth ---
AUTH_SECRET: 'eebc122aa65adde8c76c6a0847d9649b2b67a06db1504693e6c912e51499b76e'
AUTH_URL: 'https://lcbp3.np-dms.work'
AUTH_TRUST_HOST: 'true'
INTERNAL_API_URL: 'http://backend:3000/api'
networks:
- lcbp3
healthcheck: