Add authentication optional api url parameter (#5803)

This commit is contained in:
martmull
2024-06-11 12:08:21 +02:00
committed by GitHub
parent af8c637355
commit 9307d206c5
4 changed files with 47 additions and 5 deletions

View File

@ -23,6 +23,16 @@ export default {
helpText:
'Create an API key in [your twenty workspace](https://app.twenty.com/settings/developers)',
},
{
computed: false,
key: 'apiUrl',
required: false,
label: 'Api Url',
type: 'string',
placeholder: 'https://api.twenty.com',
helpText:
'Set this only if you self-host Twenty. Use the same value as `REACT_APP_SERVER_BASE_URL` in https://docs.twenty.com/start/self-hosting/',
},
],
connectionLabel: '{{data.currentWorkspace.displayName}}',
customConfig: {},