diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index 87a00ebe..b724def3 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -2,7 +2,7 @@ module.exports = { apps: [ { name: "epicnextcms", - script: "node_modules/next/dist/bin/next", + script: "pnpm", args: "start", instances: "max", exec_mode: "cluster", @@ -10,7 +10,7 @@ module.exports = { max_memory_restart: "1G", env: { NODE_ENV: "production", - PORT: 3000 + PORT: 3002 } } ] diff --git a/src/components/auth/register-form.tsx b/src/components/auth/register-form.tsx index 42d732de..163a7223 100644 --- a/src/components/auth/register-form.tsx +++ b/src/components/auth/register-form.tsx @@ -42,7 +42,6 @@ export function RegisterForm({ const showCaptcha = captcha.provider !== "none" && !!captcha.siteKey; const [serverError, formAction, isPending] = useActionState(register, null); const [termsAccepted, setTermsAccepted] = useState(false); - const [ageVerified, setAgeVerified] = useState(false); const [password, setPassword] = useState(""); const [showPassword, setShowPassword] = useState(false); const [showConfirm, setShowConfirm] = useState(false); @@ -281,7 +280,7 @@ export function RegisterForm({ - {/* Terms & Age Verification */} + {/* Terms */}