8900 commited on
Commit
f7200db
·
verified ·
1 Parent(s): e9b23c2

Update setup-hf-config.mjs

Browse files
Files changed (1) hide show
  1. setup-hf-config.mjs +3 -3
setup-hf-config.mjs CHANGED
@@ -8,8 +8,8 @@ const configPath = join(configDir, 'openclaw.json');
8
 
9
  if (!existsSync(configDir)) mkdirSync(configDir, { recursive: true });
10
 
11
- const spaceHost = process.env.SPACE_HOST || 'echo8900-hugging-claw.hf.space';
12
- const gwPassword = process.env.OPENCLAW_TOKEN || 'Li8900';
13
 
14
  console.log(`[setup] host: ${spaceHost}`);
15
  console.log(`[setup] path: ${configPath}`);
@@ -47,4 +47,4 @@ try {
47
  } catch (err) {
48
  console.error('[setup] FATAL:', err);
49
  process.exit(1);
50
- }
 
8
 
9
  if (!existsSync(configDir)) mkdirSync(configDir, { recursive: true });
10
 
11
+ const spaceHost = process.env.SPACE_HOST || 'echo8900-xia.hf.space';
12
+ const gwPassword = process.env.OPENCLAW_TOKEN || process.env.OPENCLAW_GATEWAY_TOKEN || 'Li8900';
13
 
14
  console.log(`[setup] host: ${spaceHost}`);
15
  console.log(`[setup] path: ${configPath}`);
 
47
  } catch (err) {
48
  console.error('[setup] FATAL:', err);
49
  process.exit(1);
50
+ }