Yuki Takei il y a 3 ans
Parent
commit
0fad044414
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      packages/app/src/server/routes/index.js

+ 3 - 3
packages/app/src/server/routes/index.js

@@ -1,5 +1,5 @@
-import express from 'express';
 import csrf from 'csurf';
+import express from 'express';
 
 import apiV1FormValidator from '../middlewares/apiv1-form-validator';
 import injectResetOrderByTokenMiddleware from '../middlewares/inject-reset-order-by-token-middleware';
@@ -54,7 +54,7 @@ module.exports = function(crowi, app) {
   const comment = require('./comment')(crowi, app);
   const tag = require('./tag')(crowi, app);
   const search = require('./search')(crowi, app);
-  //// TODO: Replace the code in hackmd.js getting the script path from manifest.json
+  // == TODO: Replace the code in hackmd.js getting the script path from manifest.json
   // const hackmd = require('./hackmd')(crowi, app);
   const ogp = require('./ogp')(crowi);
 
@@ -224,7 +224,7 @@ module.exports = function(crowi, app) {
   app.get('/trash/$'                  , loginRequired, (req, res) => res.redirect('/trash'));
   app.get('/trash/*/$'                , loginRequired, injectUserUISettings, page.deletedPageListShowWrapper);
 
-  //// TODO: Replace the code in hackmd.js getting the script path from manifest.json
+  // == TODO: Replace the code in hackmd.js getting the script path from manifest.json
   // app.get('/_hackmd/load-agent'          , hackmd.loadAgent);
   // app.get('/_hackmd/load-styles'         , hackmd.loadStyles);
   // app.post('/_api/hackmd.integrate'      , accessTokenParser , loginRequiredStrictly , hackmd.validateForApi, hackmd.integrate);