diff --git a/.gitignore b/.gitignore index 6fb0b49..f5f2df9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_STORE .idea .git +debug.log diff --git a/Dockerfile b/Dockerfile index 8418659..1dbb291 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN groupadd -r dummy && useradd -r -g dummy dummy -u 1000 # webui + aria2 RUN apt-get update \ - && apt-get install -y aria2 busybox curl \ + && apt-get install -y aria2 busybox curl unzip \ && rm -rf /var/lib/apt/lists/* ADD . /webui-aria2 @@ -19,8 +19,8 @@ RUN GITHUB_REPO="https://github.com/tianon/gosu" \ # goreman supervisor install latest RUN GITHUB_REPO="https://github.com/mattn/goreman" \ && LATEST=`curl -s $GITHUB_REPO"/releases/latest" | grep -Eo "v[0-9]*.[0-9]*.[0-9]*"` \ - && curl -L $GITHUB_REPO"/releases/download/"$LATEST"/goreman_linux_amd64.tar.gz" > goreman.tar.gz \ - && tar -xvzf goreman.tar.gz && mv /goreman_linux_amd64/goreman /usr/local/bin/goreman && rm -R goreman* + && curl -L $GITHUB_REPO"/releases/download/"$LATEST"/goreman_linux_amd64.zip" > goreman.zip \ + && unzip goreman.zip && mv /goreman /usr/local/bin/goreman && rm -R goreman* # goreman setup RUN echo "web: gosu dummy /bin/busybox httpd -f -p 8080 -h /webui-aria2\nbackend: gosu dummy /usr/bin/aria2c --enable-rpc --rpc-listen-all --dir=/data" > Procfile diff --git a/configuration.js b/configuration.js index 4a4c27d..4119b31 100644 --- a/configuration.js +++ b/configuration.js @@ -38,7 +38,7 @@ angular ]) .constant('$downloadProps', [ // Similar to starred Quick Access properties but for adding new downloads. // go to Advance Download Options when adding a new download to view the list of possible options - 'http-user', 'http-passwd', 'pause', 'dir', 'max-connection-per-server' + 'header', 'http-user', 'http-passwd', 'pause', 'dir', 'max-connection-per-server' ]) .constant('$globalTimeout', 1000) // interval to update the individual downloads ; diff --git a/index.html b/index.html index 6c6e80c..e32e682 100755 --- a/index.html +++ b/index.html @@ -412,8 +412,9 @@
  • - - + + +
  • @@ -827,9 +828,10 @@
    - - + +

    @@ -847,9 +849,10 @@
    - - + +

    @@ -895,9 +898,10 @@
    - - + +

    @@ -915,9 +919,10 @@
    - - + +

    @@ -962,9 +967,10 @@
    - - + +

    @@ -982,9 +988,10 @@
    - - + +

    @@ -1044,9 +1051,10 @@
    - - + +