Update routes to reflect daemon changes
This commit is contained in:
parent
9c7b753576
commit
8330e26b39
2 changed files with 6 additions and 5 deletions
|
@ -172,11 +172,11 @@ class ServerController extends Controller
|
|||
|
||||
$download->token = (string) Uuid::generate(4);
|
||||
$download->server = $server->uuid;
|
||||
$download->path = str_replace('../', '', $file);
|
||||
$download->path = $file;
|
||||
|
||||
$download->save();
|
||||
|
||||
return redirect( $node->scheme . '://' . $node->fqdn . ':' . $node->daemonListen . '/server/download/' . $download->token);
|
||||
return redirect( $node->scheme . '://' . $node->fqdn . ':' . $node->daemonListen . '/server/file/download/' . $download->token);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue