We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d636813 + 27e08ee commit 690b028Copy full SHA for 690b028
server.js
@@ -147,7 +147,7 @@ app.get(
147
response.body.pipe(createWriteStream(`${uploadPath}/${name}`));
148
});
149
150
- const baseUrl = `${req.protocol}://${req.get("host")}/${BASE_URI}`;
+ const baseUrl = `${req.protocol}://${req.get("host")}/`;
151
const newPath = url.replace(baseRegex, `${uploadPath}/`);
152
req.query.url = `${baseUrl}${newPath}${specURL.search}`;
153
req.tmpDir = uploadPath;
0 commit comments