2
0

📝 Improve description for DISABLE_SIGNUP param

This commit is contained in:
Baptiste Arnaud
2023-03-11 09:57:11 +01:00
parent 883d519875
commit 8df830721c
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
await createDomainOnVercel(data.name)
} catch (err) {
console.log(err)
if (err instanceof HTTPError && err.response.statusCode !== 409)
return res.status(err.response.statusCode).send(err.response.body)
}

View File

@ -17,7 +17,7 @@ import { SponsorButton } from '../../../src/js/SponsorButton.jsx'
| NEXT_PUBLIC_VIEWER_URL | | The viewer base URL. Should be the publicly accessible URL (i.e. `https://bot.domain.com`) |
| NEXTAUTH_URL_INTERNAL | | The internal builder base URL. You have to set it only when `NEXTAUTH_URL` can't be reached by your builder container / server. For a docker deployment, you should set it to `http://localhost:3000`. |
| DEFAULT_WORKSPACE_PLAN | FREE | Default workspace plan on user creation or when a user creates a new workspace. Possible values are `FREE`, `STARTER`, `PRO`, `LIFETIME`, `UNLIMITED`. The default plan for admin user is `UNLIMITED` |
| DISABLE_SIGNUP | false | To disable new sign ups but still be able to sign in with existing users or admin email |
| DISABLE_SIGNUP | false | Disable new user sign ups. Invited users are still able to sign up. |
## Email (Auth, notifications)