publicstring commited on
Commit
6ba2418
·
verified ·
1 Parent(s): 588b6da

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +2 -2
app.js CHANGED
@@ -11,7 +11,7 @@ app.use(express.json());
11
  // ============================================================================
12
  // CONFIGURATION & SETUP
13
  // ============================================================================
14
- const PORT = process.env.PORT || 8000;
15
  const REGISTRY_URL = process.env.REGISTRY_URL || 'http://localhost:7860';
16
  const GEMINI_API_KEY = process.env.GEMINI_API_KEY;
17
 
@@ -154,7 +154,7 @@ app.listen(PORT, async () => {
154
  await sellerCore.registerEndpoint({
155
  agent_id: module.agent_id,
156
  display_name: module.display_name,
157
- endpoint: `http://localhost:${PORT}/anp/v1`,
158
  supported_modes: ["ANP/C"],
159
  categories: module.categories,
160
  capabilities: module.capabilities
 
11
  // ============================================================================
12
  // CONFIGURATION & SETUP
13
  // ============================================================================
14
+ const PORT = process.env.PORT || 7860;
15
  const REGISTRY_URL = process.env.REGISTRY_URL || 'http://localhost:7860';
16
  const GEMINI_API_KEY = process.env.GEMINI_API_KEY;
17
 
 
154
  await sellerCore.registerEndpoint({
155
  agent_id: module.agent_id,
156
  display_name: module.display_name,
157
+ endpoint: `https://publicstring-sellersnode.hf.space/anp/v1`,
158
  supported_modes: ["ANP/C"],
159
  categories: module.categories,
160
  capabilities: module.capabilities