Add environment variables & add .env to gitignore

This commit is contained in:
2020-12-09 02:44:09 +01:00
parent ce774ecc6c
commit 6fad81d4fb
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
API_URL=http://localhost:1337
NEXT_PUBLIC_API_URL=$API_URL
+1
View File
@@ -25,6 +25,7 @@ yarn-debug.log*
yarn-error.log* yarn-error.log*
# local env files # local env files
.env
.env.local .env.local
.env.development.local .env.development.local
.env.test.local .env.test.local