Explorar el Código

打开图片失败

john hace 8 meses
padre
commit
07e618a3ed
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      node_expores/app.js

+ 2 - 0
node_expores/app.js

@@ -42,8 +42,10 @@ function extractFileId(referer) {
 
 // middleware that is specific to this router
 app.use(async function timeLog(req, res, next) {
+  console.log(45, req.url);
   if (isValidReferer(req.url)) {
     const fileId = extractFileId(req.url);
+    console.log(47, fileId);
     if (fileId) {
       return res.redirect(`/api/v1/files/${fileId}`);
     } else {