From 6c7aa57978a9a79bfd19d8e7fabda2e074265ef8 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 22 May 2024 07:54:49 +0600 Subject: [PATCH] setup: update main instance api url --- src/modules/setup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/setup.js b/src/modules/setup.js index 80032fcd..137f6271 100644 --- a/src/modules/setup.js +++ b/src/modules/setup.js @@ -36,7 +36,7 @@ function setup() { rl.question(q, r1 => { switch (r1.toLowerCase()) { case 'api': - console.log(Bright("\nCool! What's the domain this API instance will be running on? (localhost)\nExample: co.wuk.sh")); + console.log(Bright("\nCool! What's the domain this API instance will be running on? (localhost)\nExample: api.cobalt.tools")); rl.question(q, apiURL => { ob.API_URL = `http://localhost:9000/`; @@ -83,13 +83,13 @@ function setup() { if (webPort && (webURL === "localhost" || !webURL)) ob.WEB_URL = `http://localhost:${webPort}/`; console.log( - Bright("\nOne last thing: what default API domain should be used? (co.wuk.sh)\nIf it's hosted locally, make sure to include the port:") + Cyan(" localhost:9000") + Bright("\nOne last thing: what default API domain should be used? (api.cobalt.tools)\nIf it's hosted locally, make sure to include the port:") + Cyan(" localhost:9000") ); rl.question(q, apiURL => { ob.API_URL = `https://${apiURL.toLowerCase()}/`; if (apiURL.includes(':')) ob.API_URL = `http://${apiURL.toLowerCase()}/`; - if (!apiURL) ob.API_URL = "https://co.wuk.sh/"; + if (!apiURL) ob.API_URL = "https://api.cobalt.tools/"; final() }) });