mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-12-22 06:25:10 +01:00
Fix env
This commit is contained in:
parent
5e96df8aa9
commit
43aaa18da6
2 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,3 @@
|
|||
GOOGLE_DRIVE_CLIENT_ID=
|
||||
GOOGLE_DRIVE_API_KEY=
|
||||
GOOGLE_DRIVE_API_KEY=
|
||||
CORS_HOST=
|
|
@ -3,5 +3,6 @@ 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 += `CORS_HOST=${process.env.CORS_HOST}\n`;
|
||||
|
||||
fs.writeFileSync('.env', envString);
|
||||
|
|
Loading…
Reference in a new issue