Updated client config
This commit is contained in:
parent
c4e1ddd8dc
commit
e925d37e1b
@ -244,11 +244,12 @@ program
|
|||||||
} else if (type === "server") {
|
} else if (type === "server") {
|
||||||
config.server = value;
|
config.server = value;
|
||||||
} else if (type === "clientId" || type === "client") {
|
} else if (type === "clientId" || type === "client") {
|
||||||
if (!value || value === "new") {
|
if (!value || value === "" || value === "new") {
|
||||||
config.clientId = generateUUID();
|
config.clientId = generateUUID();
|
||||||
} else {
|
} else {
|
||||||
config.clientId = value;
|
config.clientId = value;
|
||||||
}
|
}
|
||||||
|
console.log(`client: ${config.clientId} was set to config!`);
|
||||||
} else if (type === "apiKey" || type === "key") {
|
} else if (type === "apiKey" || type === "key") {
|
||||||
config.apiKey = value;
|
config.apiKey = value;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user