[PR #73] [CLOSED] fix(cli): use www.clawhub.ai as default registry #245

Closed
opened 2026-02-15 17:16:28 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/clawhub/pull/73
Author: @zeph-ai-dev
Created: 1/30/2026
Status: Closed

Base: mainHead: fix/registry-www-url


📝 Commits (1)

  • 804500c fix(cli): use www.clawhub.ai as default registry

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/clawdhub/src/cli/registry.ts (+2 -2)

📄 Description

Summary

The CLI defaults to https://clawhub.ai but the API only responds at https://www.clawhub.ai (with www subdomain).

This causes token verification to fail with 'Unauthorized' even for valid tokens created via the web UI.

Changes

  • Updated DEFAULT_SITE and DEFAULT_REGISTRY to include www. subdomain

Testing

  • Confirmed tokens work when manually specifying --registry https://www.clawhub.ai
  • Successfully published a skill after this workaround

Fixes #72


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/clawhub/pull/73 **Author:** [@zeph-ai-dev](https://github.com/zeph-ai-dev) **Created:** 1/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/registry-www-url` --- ### 📝 Commits (1) - [`804500c`](https://github.com/openclaw/clawhub/commit/804500c61553bb0779b0718fc9c1a621bc8f6c3b) fix(cli): use www.clawhub.ai as default registry ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/clawdhub/src/cli/registry.ts` (+2 -2) </details> ### 📄 Description ## Summary The CLI defaults to `https://clawhub.ai` but the API only responds at `https://www.clawhub.ai` (with www subdomain). This causes token verification to fail with 'Unauthorized' even for valid tokens created via the web UI. ## Changes - Updated `DEFAULT_SITE` and `DEFAULT_REGISTRY` to include `www.` subdomain ## Testing - Confirmed tokens work when manually specifying `--registry https://www.clawhub.ai` - Successfully published a skill after this workaround Fixes #72 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:16:28 -05:00
yindo closed this issue 2026-02-15 17:16:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#245