Skip to content

Commit 1fc602b

Browse files
author
Nick Balestra
committed
basic registry setup
1 parent da02fbc commit 1fc602b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

registry/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
require('dotenv').config()
12
const oc = require('oc');
23

34
const configuration = {
45
verbosity: 0,
5-
baseUrl: 'https://opencomponents-site-registry.herokuapp.com/',
6+
baseUrl: process.env.BASEURL,
67
port: process.env.PORT || 3000,
78
tempDir: './temp/',
89
refreshInterval: 600,

registry/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"license": "MIT",
1313
"dependencies": {
14+
"dotenv": "^4.0.0",
1415
"oc": "^0.39.8"
1516
}
1617
}

0 commit comments

Comments
 (0)