From fd9609914015537ab672084e6e122ab1525ec833 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Mon, 29 Mar 2021 05:43:16 +0800 Subject: [PATCH] Fix env --- scripts/createEnv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/createEnv.js b/scripts/createEnv.js index 44c0fdd2..1e4bd59c 100644 --- a/scripts/createEnv.js +++ b/scripts/createEnv.js @@ -3,6 +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`; +envString += `API_HOST=${process.env.API_HOST}\n`; fs.writeFileSync('.env', envString);