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