ソースを参照

打开图片失败

john 8 ヶ月 前
コミット
07e618a3ed
1 ファイル変更2 行追加0 行削除
  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 {