feat: instance IP address envvar

This commit is contained in:
Vincent
2024-08-23 14:01:02 +02:00
parent 2f841f0127
commit 3e3ea66848
5 changed files with 22 additions and 15 deletions

View File

@@ -2,7 +2,8 @@ import {request} from "./index";
export enum ConnectorProvider {
OVH = 'ovh',
GANDI = 'gandi'
GANDI = 'gandi',
NAMECHEAP = 'namecheap'
}
export type Connector = {

View File

@@ -15,6 +15,10 @@ export const helpGetTokenLink = (provider?: string) => {
return <Typography.Link target='_blank' href="https://admin.gandi.net/organizations/account/pat">
{t`Retrieve a Personal Access Token from your customer account on the Provider's website`}
</Typography.Link>
case ConnectorProvider.NAMECHEAP:
return <Typography.Link target='_blank' href="">
{t`Retreive an API key and whitelist this instance's IP address on Namecheap's website`}
</Typography.Link>
default:
return <></>