取消https验证,并添加vendor文件夹。
This commit is contained in:
10
vendor/daijie/aria2/playground/www/index.php
vendored
Normal file
10
vendor/daijie/aria2/playground/www/index.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require 'vendor/autoload.php';
|
||||
$aria2 = new Aria2('http://aria2:6800/jsonrpc', "token:e6c3778f-6361-4ed0-b126-f2cf8fca06db");
|
||||
$status = $aria2->addUri(
|
||||
['https://www.docker.com/sites/default/files/moby.svg']
|
||||
);
|
||||
?>
|
||||
<code>
|
||||
<?=var_export($status, 1);?>
|
||||
</code>
|
||||
Reference in New Issue
Block a user