From 74f237067c8501cbf9b776517d3a702e0050154c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 20 Mar 2023 07:37:33 +0800 Subject: Revert "Don't remove anything from the URL on Emscripten" This reverts commit 6c3a50e1d5a54173106b748ef3e81acba23b70dc. --- interchange.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/interchange.cxx b/interchange.cxx index c70fc98..4f8d9e0 100644 --- a/interchange.cxx +++ b/interchange.cxx @@ -29,10 +29,8 @@ namespace QInterchange { interchange_page(path.toLatin1().constData(), [](interchange_response* response) { interchange->emitPage(QString{response->url} -#ifndef __EMSCRIPTEN__ - .remove(0, sampleUrlLength + 1) -#endif - , QString{response->data}); + .remove(0, sampleUrlLength + 1), + QString{response->data}); interchange_free_response(response); }); } -- cgit v1.2.3