1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 20:32:28 +01:00

Use logical move route name

This commit is contained in:
Dane Everitt 2016-10-06 17:30:17 -04:00
parent d06f83a0cd
commit 1512c73bb5
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -51,7 +51,7 @@ class ActionsClass {
'X-Access-Server': '{{ $server->uuid }}'
},
contentType: 'application/json; charset=utf-8',
url: '{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/server/file/rename',
url: '{{ $node->scheme }}://{{ $node->fqdn }}:{{ $node->daemonListen }}/server/file/move',
timeout: 10000,
data: JSON.stringify({
from: `${currentPath}${currentName}`,