mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: instance IP address envvar
This commit is contained in:
@@ -2,7 +2,8 @@ import {request} from "./index";
|
||||
|
||||
export enum ConnectorProvider {
|
||||
OVH = 'ovh',
|
||||
GANDI = 'gandi'
|
||||
GANDI = 'gandi',
|
||||
NAMECHEAP = 'namecheap'
|
||||
}
|
||||
|
||||
export type Connector = {
|
||||
|
||||
@@ -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 <></>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user