feat(schema): extend deployJobSchema to include 'redeploy' type and enhance auth settings for development environment

This commit is contained in:
Mauricio Siu
2026-01-12 08:57:45 -06:00
parent 6ca6ff3530
commit 6b9bcbc539
2 changed files with 7 additions and 1 deletions

View File

@@ -45,6 +45,12 @@ const { handler, api } = betterAuth({
return [
...(settings?.serverIp ? [`http://${settings?.serverIp}:3000`] : []),
...(settings?.host ? [`https://${settings?.host}`] : []),
...(process.env.NODE_ENV === "development"
? [
"http://localhost:3000",
"https://absolutely-handy-falcon.ngrok-free.app",
]
: []),
];
},
}),