diff --git a/hellgate.js b/hellgate.js index 2977925..bfa8840 100644 --- a/hellgate.js +++ b/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