feat: 초기 프로젝트 설정 및 룰.md 파일 추가

This commit is contained in:
2025-07-28 09:53:31 +09:00
commit 09a4d38512
8165 changed files with 1021855 additions and 0 deletions

30
api.hyungi.net/node_modules/@pm2/agent/config.js generated vendored Normal file
View File

@@ -0,0 +1,30 @@
'use strict'
/**
* Convert value to boolean but false if undefined
* @param {String} value
* @param {String} fallback default value
* @return {Boolean}
*/
const useIfDefined = (value, fallback) => {
if (typeof value === 'undefined') {
return fallback
} else {
return value === 'true'
}
}
/**
* Configuration for transporters
* Configuration by transporter :
* @param {Integer} enabled
* @param {Object|String} endpoints sended as first arg with connect() method
*/
module.exports = {
transporters: {
websocket: {
enabled: true, // useIfDefined(process.env.AGENT_TRANSPORT_WEBSOCKET, true),
endpoints: process.env.AGENT_WEBSOCKET_ENDPOINT || 'ws'
}
}
}