arvid-e 9 mēneši atpakaļ
vecāks
revīzija
727f679464

+ 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 {