🐛 (nocodb) Automatically ignore trailing slash for baseURL
Closes #1566
This commit is contained in:
@ -5,13 +5,15 @@ export const auth = {
|
||||
type: 'encryptedCredentials',
|
||||
name: 'NocoDB account',
|
||||
schema: option.object({
|
||||
baseUrl: option.string.layout({
|
||||
baseUrl: option.string
|
||||
.layout({
|
||||
label: 'Base URL',
|
||||
isRequired: true,
|
||||
helperText: 'Change it only if you are self-hosting NocoDB.',
|
||||
withVariableButton: false,
|
||||
defaultValue: defaultBaseUrl,
|
||||
}),
|
||||
})
|
||||
.transform((value) => value?.replace(/\/$/, '')),
|
||||
apiKey: option.string.layout({
|
||||
label: 'API Token',
|
||||
isRequired: true,
|
||||
|
Reference in New Issue
Block a user