260320:1659 Refactor Overrall #09 Fix by antigravity: pnpm frontend deploy
Build and Deploy / deploy (push) Successful in 7m17s
Build and Deploy / deploy (push) Successful in 7m17s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user