Skip to content

Commit

Permalink
Allow non-valid https requests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget committed Dec 1, 2023
1 parent 98e4948 commit 304ccb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
- run: eslint app tests/*.mjs
- run: sudo snap install yq
- run: ./build.sh
- run: sudo dpkg -i ./dist/linux/x86_64/vdhcoapp-2.0.8-linux-x86_64.deb
- run: sudo dpkg -i ./dist/linux/x86_64/vdhcoapp-2.0.9-linux-x86_64.deb
- run: ./tests/test.mjs /opt/vdhcoapp/vdhcoapp --with-network
1 change: 1 addition & 0 deletions app/src/downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function download(options) {
}
let filename = path.join(options.directory || downloadFolder, options.filename);
let dlOptions = {
rejectUnauthorized: !!options.rejectUnauthorized,
headers: {}
};
(options.headers || []).forEach((header) => {
Expand Down
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id = "net.downloadhelper.coapp"
name = "VdhCoApp"
long_name = "DownloadHelper CoApp"
description = "Video DownloadHelper companion app"
version = "2.0.8"
version = "2.0.9"

[package]
binary_name = "vdhcoapp" # .exe added automatically
Expand Down

0 comments on commit 304ccb1

Please sign in to comment.