Fixed non-merged template assignment
This commit is contained in:
parent
25b71bc85e
commit
727dc786b8
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@
|
||||||
} else {
|
} else {
|
||||||
jsonTemplate['cc-client']['worker-id'] = clientId
|
jsonTemplate['cc-client']['worker-id'] = clientId
|
||||||
|
|
||||||
clientConfig = jsonJSON.stringify(jsonTemplate,undefined, 2);
|
clientConfig = JSON.stringify(jsonTemplate,undefined, 2);
|
||||||
|
|
||||||
if ($('#replaceWorkerId').prop('checked')) {
|
if ($('#replaceWorkerId').prop('checked')) {
|
||||||
clientConfig = clientConfig.replace(new RegExp("@WORKER-ID@", 'g'), clientId).trim();
|
clientConfig = clientConfig.replace(new RegExp("@WORKER-ID@", 'g'), clientId).trim();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue