add env file for different port
This commit is contained in:
parent
01f3f726b8
commit
8790e77912
2 changed files with 1 additions and 3 deletions
1
.env-sample
Normal file
1
.env-sample
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
URL=http://localhost:8080
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
const package = require('../../package.json');
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
pkv: package.version || 'v1',
|
|
||||||
url: process.env.URL || 'http://localhost:8080',
|
url: process.env.URL || 'http://localhost:8080',
|
||||||
siteName: 'Eleventy Excellent',
|
siteName: 'Eleventy Excellent',
|
||||||
siteDescription:
|
siteDescription:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue