add env file for different port

This commit is contained in:
madrilene 2023-01-09 09:15:03 +01:00
parent 01f3f726b8
commit 8790e77912
2 changed files with 1 additions and 3 deletions

1
.env-sample Normal file
View file

@ -0,0 +1 @@
URL=http://localhost:8080

View file

@ -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: