초기 PM 소스 전체 업로드

This commit is contained in:
koj729
2026-06-12 17:14:03 +09:00
commit 4e33c9a02a
1769 changed files with 377797 additions and 0 deletions

14
config/cloudClient.js Normal file
View File

@@ -0,0 +1,14 @@
const { S3Client } = require('@aws-sdk/client-s3');
require('dotenv').config();
// CloudFlare R2
const cloudClient = new S3Client({
region: 'auto',
endpoint: process.env.R2_ENDPOINT,
credentials: {
accessKeyId: process.env.R2_ACCESSKEYID,
secretAccessKey: process.env.R2_SECRETACCESSKEY,
},
});
module.exports = cloudClient;