paimon-moe/scripts/createEnv.js
Made Baruna fd96099140 Fix env
2021-03-29 05:43:16 +08:00

8 lines
290 B
JavaScript

const fs = require('fs');
let envString = '';
envString += `GOOGLE_DRIVE_CLIENT_ID=${process.env.GOOGLE_DRIVE_CLIENT_ID}\n`;
envString += `GOOGLE_DRIVE_API_KEY=${process.env.GOOGLE_DRIVE_API_KEY}\n`;
envString += `API_HOST=${process.env.API_HOST}\n`;
fs.writeFileSync('.env', envString);