diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-20 07:37:33 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-20 07:37:33 +0800 |
commit | 74f237067c8501cbf9b776517d3a702e0050154c (patch) | |
tree | a94c1de86d7833b66a524db62dd2c36109c4ad3a /interchange.cxx | |
parent | 6c3a50e1d5a54173106b748ef3e81acba23b70dc (diff) |
Revert "Don't remove anything from the URL on Emscripten"
This reverts commit 6c3a50e1d5a54173106b748ef3e81acba23b70dc.
Diffstat (limited to 'interchange.cxx')
-rw-r--r-- | interchange.cxx | 6 |
1 files 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); }); } |