Просмотр исходного кода

exclude /_api/v3/healthcheck from basic authentication.

Koki Oyatsu 7 лет назад
Родитель
Сommit
bb54e0c038
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/crowi/express-init.js

+ 1 - 1
src/server/crowi/express-init.js

@@ -111,7 +111,7 @@ module.exports = function(crowi, app) {
 
     // FIXME:
     //   healthcheck endpoint exclude from basic authentication.
-    //   However, as hard coding is not desirable.
+    //   however, hard coding is not desirable.
     //   need refactoring (ex. setting basic authentication for each routes)
     if (req.originalUrl === '/_api/v3/healthcheck') {
       return next();