mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-17 22:00:00 +00:00
setup: fix env variable mixup
This commit is contained in:
parent
4d1ac4a00a
commit
efe2e6a437
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ function setup() {
|
||||||
console.log(Bright("\nWhat will your instance's name be? Usually it's something like eu-nl aka region-country. (local)"));
|
console.log(Bright("\nWhat will your instance's name be? Usually it's something like eu-nl aka region-country. (local)"));
|
||||||
|
|
||||||
rl.question(q, apiName => {
|
rl.question(q, apiName => {
|
||||||
ob['API_URL'] = apiName.toLowerCase();
|
ob['API_NAME'] = apiName.toLowerCase();
|
||||||
if (!apiName || apiName === "local") ob['API_URL'] = "local";
|
if (!apiName || apiName === "local") ob['API_NAME'] = "local";
|
||||||
|
|
||||||
console.log(Bright("\nOne last thing: would you like to enable CORS? It allows other websites and extensions to use your instance's API.\ny/n (n)"));
|
console.log(Bright("\nOne last thing: would you like to enable CORS? It allows other websites and extensions to use your instance's API.\ny/n (n)"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue