~nicohman/ravenserver

f087df0c483b704a943560f366f8cfcb973b0275 — Nico Hickman 2 years ago 715a0b0
Move email account config into config.json
3 files changed, 8 insertions(+), 5 deletions(-)

M .gitignore
M app.js
M public/views/header.ejs
M .gitignore => .gitignore +4 -1
@@ 4,7 4,10 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

public/static/*nightly
config.json
downloads.json
public/tcdn
# Runtime data
pids
*.pid

M app.js => app.js +2 -2
@@ 24,12 24,12 @@ var san = require("sanitizer");
var request = require("request");
var nodemailer = require("nodemailer");
var mConf = {
    host: 'smtp.gmail.com',
    host: config.emailhost,
    port: 465,
    secure: true,
    pool: true,
    auth: {
        user: "nico.hickman@gmail.com",
        user: config.emailuser,
        pass: config.emailpass
    }
}

M public/views/header.ejs => public/views/header.ejs +2 -2
@@ 20,7 20,7 @@
				About
			</a>
		</div>
		<% if (include_downloads) %>
		<% if (include_downloads) { %>
		<div id ="header-downloads">
			<a href="/downloads">
				Downloads


@@ 35,4 35,4 @@
		<%= constraints %>
		<% }  %>
	</div>
</div>
\ No newline at end of file
</div>