1
0
Fork 0

v0.4.4-rc2: changed config.host (for deploying to test.squatconf.eu)

2015
joates 10 years ago
parent b3e692b68c
commit eed1027bb6

@ -6,7 +6,7 @@ module.exports = require('rc')(name, {
db_opts: { valueEncoding: 'json' }
, db_path: join(cwd, 'db', name)
, port: 8000
, host: "squatconf.eu"
, host: "http://test.squatconf.eu"
, email: {
from : "no-reply@squatconf.eu"
, subject : "Hello, everyone is welcome at SquatConf.."

@ -1,6 +1,6 @@
{
"name": "squatconf-web",
"version": "0.4.3",
"version": "0.4.4",
"description": "website for the squatConf conference",
"main": "server.js",
"scripts": {

@ -32,8 +32,9 @@ module.exports = function(db) {
// db write OK..
var nodemailer = require('nodemailer')
, transporter = nodemailer.createTransport()
, url = 'http://squatconf.eu/confirm'
, link = url +'?email='+ email +'&token='+ obj.token +'\n\n'
, url = config.host +'/confirm'
, qstr = '?email='+ email +'&token='+ obj.token
, link = url + qstr +'\n\n'
var opts = {
from : config.email.from

Loading…
Cancel
Save