Yuki Takei hace 1 año
padre
commit
118a309b4b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/remark-attachment-refs/src/server/routes/refs.ts

+ 1 - 1
packages/remark-attachment-refs/src/server/routes/refs.ts

@@ -161,7 +161,7 @@ export const routesFactory = (crowi): any => {
         regex = generateRegexp(regexOptionValue);
       }
       catch (err) {
-        res.status(400).send(`the 'regex=${options.regex}' option is invalid as RegExp.`);
+        res.status(400).send('the \'regex\' option is invalid as RegExp.');
         return;
       }
     }