2021-01-08 17:27:08 +00:00
|
|
|
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`;
|
2021-03-08 14:05:19 +00:00
|
|
|
envString += `CORS_HOST=${process.env.CORS_HOST}\n`;
|
2021-01-08 17:27:08 +00:00
|
|
|
|
|
|
|
fs.writeFileSync('.env', envString);
|