Fix env
parent
5e96df8aa9
commit
43aaa18da6
|
@ -1,2 +1,3 @@
|
||||||
GOOGLE_DRIVE_CLIENT_ID=
|
GOOGLE_DRIVE_CLIENT_ID=
|
||||||
GOOGLE_DRIVE_API_KEY=
|
GOOGLE_DRIVE_API_KEY=
|
||||||
|
CORS_HOST=
|
|
@ -3,5 +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`;
|
||||||
|
|
||||||
fs.writeFileSync('.env', envString);
|
fs.writeFileSync('.env', envString);
|
||||||
|
|
Loading…
Reference in New Issue