This commit is contained in:
Made Baruna 2021-03-29 05:43:16 +08:00
parent 0bb4bd2c0a
commit fd96099140

View file

@ -3,6 +3,6 @@ const fs = require('fs');
let envString = ''; let envString = '';
envString += `GOOGLE_DRIVE_CLIENT_ID=${process.env.GOOGLE_DRIVE_CLIENT_ID}\n`; 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 += `GOOGLE_DRIVE_API_KEY=${process.env.GOOGLE_DRIVE_API_KEY}\n`;
envString += `CORS_HOST=${process.env.CORS_HOST}\n`; envString += `API_HOST=${process.env.API_HOST}\n`;
fs.writeFileSync('.env', envString); fs.writeFileSync('.env', envString);