Skip to content

Commit 9fd1bb4

Browse files
authored
fix: update default auth URL from dash.cnap.tech to cnap.tech (#1)
The dashboard and landing page are now served from cnap.tech (no longer dash.cnap.tech). Update DefaultAuthURL, help text, and OpenAPI spec to reflect the domain migration.
1 parent 2be717c commit 9fd1bb4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/api/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

internal/cmd/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and stores a session token. Sessions are long-lived and auto-refresh on use.
3939
4040
With --token, stores the given token directly (PAT or session token).
4141
42-
Create PATs at https://dash.cnap.tech/settings/tokens`,
42+
Create PATs at https://cnap.tech/settings/tokens`,
4343
RunE: func(cmd *cobra.Command, args []string) error {
4444
cfg, err := config.Load()
4545
if err != nil {

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
const (
1212
DefaultAPIURL = "https://api.cnap.tech"
13-
DefaultAuthURL = "https://dash.cnap.tech"
13+
DefaultAuthURL = "https://cnap.tech"
1414
configDir = ".cnap"
1515
configFile = "config.yaml"
1616
)

0 commit comments

Comments
 (0)