better wording
This commit is contained in:
parent
314c5fbfcc
commit
ace49e87df
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ rl.question(q, r1 => {
|
||||||
if (r2) ob['port'] = r2
|
if (r2) ob['port'] = r2
|
||||||
if (!r1 && r2) ob['selfURL'] = `http://localhost:${r2}/`
|
if (!r1 && r2) ob['selfURL'] = `http://localhost:${r2}/`
|
||||||
|
|
||||||
console.log(Bright("\nIf you would like to enable CORS, enter 'y'. (y)\nCORS allows other websites and extensions to use your instance's API."))
|
console.log(Bright("\nWould you like to enable CORS? It allows other websites and extensions to use your instance's API.\n y/n (n)"))
|
||||||
|
|
||||||
rl.question(q, r3 => {
|
rl.question(q, r3 => {
|
||||||
if (r3.toLowerCase() !== 'y') ob['cors'] = '0'
|
if (r3.toLowerCase() !== 'y') ob['cors'] = '0'
|
||||||
|
|
Loading…
Reference in a new issue