소스 검색

Correct uri

arvid-e 9 달 전
부모
커밋
727f679464
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      apps/app/src/server/routes/apiv3/content-disposition-settings.js

+ 1 - 3
apps/app/src/server/routes/apiv3/content-disposition-settings.js

@@ -9,8 +9,6 @@ import { apiV3FormValidator } from '../../middlewares/apiv3-form-validator';
 
 import { CONFIGURABLE_MIME_TYPES_FOR_DISPOSITION } from './configurable-mime-types';
 
-// set config definitions
-// change to content disposition settings
 const logger = loggerFactory('growi:routes:apiv3:markdown-setting');
 const express = require('express');
 
@@ -23,7 +21,7 @@ module.exports = (crowi) => {
   const activityEvent = crowi.event('activity');
 
 
-  router.get('/content-disposition-settings', loginRequiredStrictly, adminRequired, async(req, res) => {
+  router.get('/', loginRequiredStrictly, adminRequired, async(req, res) => {
     const promises = CONFIGURABLE_MIME_TYPES_FOR_DISPOSITION.map(async(mimeType) => {
       const configKey = `attachments:contentDisposition:${mimeType}:inline`;
       try {