itizawa 5 лет назад
Родитель
Сommit
e6fc5e9bc7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/middlewares/certify-shared-file.js

+ 1 - 1
src/server/middlewares/certify-shared-file.js

@@ -7,7 +7,7 @@ module.exports = (crowi) => {
 
 
   return async(req, res, next) => {
   return async(req, res, next) => {
     const { referer } = req.headers;
     const { referer } = req.headers;
-    const {path} = url.parse(referer)
+    const { path } = url.parse(referer);
 
 
     if (!path.startsWith('/share/')) {
     if (!path.startsWith('/share/')) {
       next();
       next();