Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/strapi-plugin-upload/admin/src/utils/getFileModelTimestamps.js
Назад
import { get } from 'lodash'; import pluginId from '../pluginId'; const getFileModelTimestamps = plugins => { const timestamps = get( plugins, [pluginId, 'fileModel', 'options', 'timestamps'] ); // All connectors must initialise the "timestamps" option as a tuple if (!Array.isArray(timestamps) || (timestamps.length !== 2)) { throw new Error('Unexpected timestamp field configuration.'); } return timestamps; }; export default getFileModelTimestamps;
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка