Compare commits
No commits in common. "8ff7cbde64ce852b3374c36a142abc3cf1b806ed" and "c1e69ac51f6124279e11ebfa904a618240501d10" have entirely different histories.
8ff7cbde64
...
c1e69ac51f
3 changed files with 3 additions and 6 deletions
|
@ -13,9 +13,9 @@ RUN npm i -g pm2
|
|||
|
||||
RUN echo "[]" > proxy/proxy.json
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN NODE_ENV=production
|
||||
|
||||
ENV PORT=3333
|
||||
RUN PORT=3333
|
||||
|
||||
RUN apt-get update && apt-get install -y ffmpeg
|
||||
|
||||
|
|
|
@ -81,8 +81,6 @@ router.get('/status/:uuid', function (req, res ,next) {
|
|||
let uuid = req.params.uuid;
|
||||
if (progress[uuid]) {
|
||||
res.send(progress[uuid]);
|
||||
} else {
|
||||
res.send(undefined);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -267,7 +267,6 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a
|
|||
xhttp.send();
|
||||
xhttp.addEventListener("load", function(event) {
|
||||
console.log(event.target.responseText);
|
||||
if (event.target.responseText === '') return;
|
||||
document.getElementsByTagName("progress")[0].value = event.target.responseText;
|
||||
document.getElementsByTagName("progress")[0].innerHTML = `${event.target.responseText}%`;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue