mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Change address back to server for backwards compatibility
This commit is contained in:
committed by
GitHub
parent
8ab9aff3de
commit
b764efdd5a
@@ -113,9 +113,9 @@
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="stomp-server">
|
||||
<div class="form-row node-input-address">
|
||||
<label for="node-config-input-address"><i class="fa fa-bookmark"></i> Address</label>
|
||||
<input class="input-append-left" type="text" id="node-config-input-address" placeholder="localhost" style="width: 45%;" >
|
||||
<div class="form-row node-input-server">
|
||||
<label for="node-config-input-server"><i class="fa fa-bookmark"></i> Server</label>
|
||||
<input class="input-append-left" type="text" id="node-config-input-server" placeholder="localhost" style="width: 45%;" >
|
||||
<label for="node-config-input-port" style="margin-left: 10px; width: 35px; "> Port</label>
|
||||
<input type="text" id="node-config-input-port" placeholder="Port" style="width:45px">
|
||||
</div>
|
||||
@@ -157,7 +157,7 @@
|
||||
RED.nodes.registerType('stomp-server',{
|
||||
category: 'config',
|
||||
defaults: {
|
||||
address: {required:true},
|
||||
server: {required:true},
|
||||
port: {value:61613,required:true,validate:RED.validators.number()},
|
||||
protocolVersion: {value:"1.0",required:true},
|
||||
vhost: {},
|
||||
|
Reference in New Issue
Block a user