mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-29 03:32:44 +01:00
8 lines
290 B
JavaScript
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);
|