mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
Update generated dashboard links to torchagent.ai
This commit is contained in:
1 parent
a9d5a2600e
commit
d2db0cf25b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -603,7 +603,7 @@ export async function cmdInit(force = false, cwd = process.cwd(), mockAnswers =
|
||||
* @returns {string} - The generated URL.
|
||||
*/
|
||||
function createDashboardLinkFile(paths, namespace, relays, hashtag) {
|
||||
const dashboardUrl = `https://torch.thepr0m3th3an.net/dashboard/?hashtag=${hashtag}`;
|
||||
const dashboardUrl = `https://www.torchagent.ai/dashboard/?hashtag=${hashtag}`;
|
||||
|
||||
const content = `# TORCH Dashboard
|
||||
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ test('cmdInit creates directory structure and files', async () => {
|
||||
const dashboardContent = fs.readFileSync(dashboardPath, 'utf8');
|
||||
assert.ok(dashboardContent.includes('test-hashtag'), 'Dashboard content contains hashtag');
|
||||
assert.ok(dashboardContent.includes('test-namespace'), 'Dashboard content contains namespace');
|
||||
assert.ok(dashboardContent.includes('https://torch.thepr0m3th3an.net/dashboard/'), 'Dashboard content contains link');
|
||||
assert.ok(dashboardContent.includes('https://www.torchagent.ai/dashboard/'), 'Dashboard content contains link');
|
||||
});
|
||||
|
||||
test('cmdInit fails if directory exists without force', async () => {
|
||||
|
||||
Reference in new issue
Block a user