@ -170,7 +170,7 @@ app.post("/download", async (req, res) => {
Promise.all([arr[0], arr[1]])
.then((response) => {
cp.exec(
`'${ffmpeg}' -i '${tempDir + videoName}' -i '${
`"${ffmpeg}" -i '${tempDir + videoName}' -i '${
tempDir + audioName
}' -c copy '${downloadDir + filename}'`,
(error, stdout, stderr) => {
@ -126,7 +126,7 @@
body: "Video saved successfully.",
icon: 'icon.png'
});
document.getElementById("savedMsg").innerHTML = `Video saved to <a href='file:/${savedLocation}'>${savedLocation}</a>`
document.getElementById("savedMsg").innerHTML = `Video saved to <a href='file://${savedLocation}'>${savedLocation}</a>`
})
</script>
</body>
@ -168,4 +168,11 @@ svg {
transition: linear;
transition-duration: 0.4s;
left:0px;
}
a{
color:rgb(131, 222, 253);
a:active, a:link{
color:rgb(131, 222, 253)