mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
allow configuration by environment variables
This commit is contained in:

committed by
Rowan Manning

parent
1358d0f38d
commit
08a1a9060f
2
index.js
2
index.js
@@ -16,7 +16,7 @@
|
||||
'use strict';
|
||||
|
||||
var chalk = require('chalk');
|
||||
var config = require('./config/' + (process.env.NODE_ENV || 'development') + '.json');
|
||||
var config = require('./config');
|
||||
|
||||
process.on('SIGINT', function() {
|
||||
console.log('\nGracefully shutting down from SIGINT (Ctrl-C)');
|
||||
|
Reference in New Issue
Block a user