Skip to content

Commit 1a7ff6a

Browse files
wesruvkylebuch8
andauthored
feat: Adding ability to configure the localhost domain (#708)
Adding dotenv package Defaulting localhost to 'localhost', but .env file can override that Added example .env file Ignoring .env file Co-authored-by: Kyle Buchanan <kylebuch8@gmail.com>
1 parent 36e611b commit 1a7ff6a

File tree

5 files changed

+107
-117
lines changed

5 files changed

+107
-117
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# .env file is only necessary if you want to access the
2+
# dev site somewhere other than http://localhost
3+
LOCALHOST = 'custom.localhost.biz'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ lerna-debug.log
1515
npm-debug.log*
1616

1717
# Local files
18+
.env
1819
*.local.umd.js
1920
*.local.js
2021

0 commit comments

Comments
 (0)