Use env() properly throughout panel to avoid cache issues.
This commit is contained in:
parent
9a581ef536
commit
4f16509447
14 changed files with 68 additions and 100 deletions
|
@ -83,7 +83,7 @@ class AddNode extends Command
|
|||
$selectedLocation = $this->option('location');
|
||||
}
|
||||
|
||||
$this->data['location'] = $locations->where('short', $selectedLocation)->first()->id;
|
||||
$this->data['location_id'] = $locations->where('short', $selectedLocation)->first()->id;
|
||||
|
||||
if (is_null($this->option('fqdn'))) {
|
||||
$this->line('Please enter domain name (e.g node.example.com) to be used for connecting to the daemon. An IP address may only be used if you are not using SSL for this node.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue