mirror of
https://github.com/LukeHagar/dokploy.git
synced 2025-12-06 04:19:37 +00:00
fix(deploy): change preview deployment limit check to be exclusive
This commit is contained in:
@@ -443,7 +443,7 @@ export default async function handler(
|
||||
|
||||
for (const app of secureApps) {
|
||||
const previewLimit = app?.previewLimit || 0;
|
||||
if (app?.previewDeployments?.length >= previewLimit) {
|
||||
if (app?.previewDeployments?.length > previewLimit) {
|
||||
continue;
|
||||
}
|
||||
const previewDeploymentResult =
|
||||
|
||||
Reference in New Issue
Block a user