mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 23:33:45 +02:00
Use env() properly throughout panel to avoid cache issues.
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user