Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/strapi/lib/utils/success.js
Назад
'use strict'; /** * Module dependencies */ const fetch = require('node-fetch'); const { machineIdSync } = require('node-machine-id'); /* * No need to worry about this file, we only retrieve anonymous data here. * It allows us to know on how many times the package has been installed globally. */ try { if ( process.env.npm_config_global === 'true' || JSON.parse(process.env.npm_config_argv).original.includes('global') ) { fetch('https://analytics.strapi.io/track', { method: 'POST', body: JSON.stringify({ event: 'didInstallStrapi', deviceId: machineIdSync(), }), headers: { 'Content-Type': 'application/json' }, }).catch(() => {}); } } catch (e) { //... }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка