diff --git a/web/apps/dashboard/lib/trpc/routers/deploy/environment-settings/runtime/update-port.ts b/web/apps/dashboard/lib/trpc/routers/deploy/environment-settings/runtime/update-port.ts index 5c0fa65d36..2eba8d84ca 100644 --- a/web/apps/dashboard/lib/trpc/routers/deploy/environment-settings/runtime/update-port.ts +++ b/web/apps/dashboard/lib/trpc/routers/deploy/environment-settings/runtime/update-port.ts @@ -8,7 +8,7 @@ export const updatePort = workspaceProcedure .input( z.object({ environmentId: z.string(), - port: z.number().int().min(2000).max(54000), + port: z.number().int().min(1).max(65535), }), ) .mutation(async ({ ctx, input }) => {