Browse Source

properly decode target url

master
sose 5 months ago
parent
commit
fbad469d65
  1. 2
      hellgate.js

2
hellgate.js

@ -33,7 +33,7 @@ async function handle_request(request, response) {
response.data("Please supply a url in the query string.")
return
}
const target_url = request.query
const target_url = decodeURIComponent(request.query)
const win = new BrowserWindow(electron_options)
const load_timeout_ms = 2000

Loading…
Cancel
Save