Skip to content
Snippets Groups Projects
Commit ed560b80 authored by Inès Yeterian's avatar Inès Yeterian
Browse files

in the process of debugging

parent 7ea76684
No related branches found
No related tags found
1 merge request!4Url/year/title
...@@ -149,8 +149,8 @@ router.route("/pdf/:urlID") ...@@ -149,8 +149,8 @@ router.route("/pdf/:urlID")
res.status(404).send("Toucan non trouvé"); res.status(404).send("Toucan non trouvé");
return; return;
} }
const id = data._id; //const id = data._id;
res.sendFile(path.resolve(env.savedExtensions[1].path,id+".pdf")); //res.sendFile(path.resolve(env.savedExtensions[1].path,id+".pdf"));
} }
);}); );});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment