mirror of
https://github.com/LukeHagar/dokploy.git
synced 2025-12-10 04:19:48 +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) {
|
for (const app of secureApps) {
|
||||||
const previewLimit = app?.previewLimit || 0;
|
const previewLimit = app?.previewLimit || 0;
|
||||||
if (app?.previewDeployments?.length >= previewLimit) {
|
if (app?.previewDeployments?.length > previewLimit) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const previewDeploymentResult =
|
const previewDeploymentResult =
|
||||||
|
|||||||
Reference in New Issue
Block a user