We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d636813 commit 27e08eeCopy full SHA for 27e08ee
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