Update setup.js
This commit is contained in:
parent
4f4bba16d3
commit
d7984b41b9
|
@ -122,7 +122,7 @@ var questions = [
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'BASE_URL',
|
name: 'BASE_URL',
|
||||||
message: 'What is the url your TellForm will be hosted at?',
|
message: 'What is the url your TellForm will be hosted at?',
|
||||||
default: '127.0.0.1'
|
default: 'localhost'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
|
@ -189,7 +189,7 @@ if(!fs.existsSync('./\.env')) {
|
||||||
var pass = answers['password'];
|
var pass = answers['password'];
|
||||||
delete answers['email'];
|
delete answers['email'];
|
||||||
delete answers['password'];
|
delete answers['password'];
|
||||||
|
|
||||||
envfile.stringify(answers, function (err, str) {
|
envfile.stringify(answers, function (err, str) {
|
||||||
fs.outputFile('./\.env', str, function (err) {
|
fs.outputFile('./\.env', str, function (err) {
|
||||||
if (err) return console.error(chalk.red(err));
|
if (err) return console.error(chalk.red(err));
|
||||||
|
|
Loading…
Reference in a new issue