Skip to content

Commit 7dddb01

Browse files
Merge pull request #4 from stackryze/dev
Release: production API host
2 parents 7914880 + 1e27aec commit 7dddb01

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.env.example‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stackryze API token with write scope (Settings → API tokens)
22
STACKRYZE_API_TOKEN=sk_dns_xxxxxxxxxxxxxxxxxxxxxxxx
33
# API base URL (include /api)
4-
STACKRYZE_API_URL=https://api.stackryze.com/api
4+
STACKRYZE_API_URL=https://api-dns.stackryze.com/api
55
# Port the webhook provider listens on (ExternalDNS talks to this over localhost)
66
PORT=8888

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Kubernetes Ingress/Service
1313
ExternalDNS ──(localhost webhook)──► stackryze-externaldns-webhook
1414
│ Bearer token
1515
▼
16-
api.stackryze.com/api
16+
api-dns.stackryze.com/api
1717
```
1818

1919
The provider manages records inside zones you already own on Stackryze. It does
@@ -24,7 +24,7 @@ not create or delete zones.
2424
| Env | Required | Default | Description |
2525
|-----|----------|---------|-------------|
2626
| `STACKRYZE_API_TOKEN` | yes | — | Token with **write** scope (Settings → API tokens) |
27-
| `STACKRYZE_API_URL` | no | `https://api.stackryze.com/api` | API base (include `/api`) |
27+
| `STACKRYZE_API_URL` | no | `https://api-dns.stackryze.com/api` | API base (include `/api`) |
2828
| `PORT` | no | `8888` | Port ExternalDNS connects to |
2929

3030
## Run locally

‎src/stackryze.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Thin client for the Stackryze DNS REST API using a Bearer token.
2-
const BASE = (process.env.STACKRYZE_API_URL || 'https://api.stackryze.com/api').replace(/\/$/, '');
2+
const BASE = (process.env.STACKRYZE_API_URL || 'https://api-dns.stackryze.com/api').replace(/\/$/, '');
33
const TOKEN = process.env.STACKRYZE_API_TOKEN;
44

55
if (!TOKEN) {

0 commit comments

Comments
 (0)