Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update

  • Loading branch information...
commit 76d68b8fb4f17604feb92c395c5b33781dc2100d 1 parent 4d43b34
@Michieljoris authored
View
17 server/firstDoorSendMail.js
@@ -10,11 +10,19 @@ var http = require('http');
var smtpTransport = nodemailer.createTransport("SMTP",{
service: "Gmail",
auth: {
- user: "firstdoormail@gmail.com",
- pass: "northlakes13"
+ user: "postmaster@axion5.net",
+ pass: "4353so7b-ai1"
}
});
+// var smtpTransport = nodemailer.createTransport("SMTP",{
+// service: "Gmail",
+// auth: {
+// user: "firstdoormail@gmail.com",
+// pass: "northlakes13"
+
+// }
+// });
// // send mail with defined transport object
@@ -74,10 +82,11 @@ var sendEmail = function (data, success, error) {
// setup e-mail data with unicode symbols
var mailOptions = {
from: "Firstdoor Server", // sender address
- to: "admin@firstdoor.com.au", // list of receivers
+ // to: "admin@firstdoor.com.au", // list of receivers
+ to: "mail@axion5.net", // list of receivers
// to: "jujusilkie@gmail.com", // list of receivers
- cc: "michieljoris@justemail.net", // list of receivers
+ cc: "mail@axion5.net", // list of receivers
subject: data.username + " has used the First Door contact us form!", // Subject line
// text: data.message // plaintext body
html: text // html body
View
2  www/js/.tern-port
@@ -1 +1 @@
-39186
+32806
View
20 www/js/router.js
@@ -11,8 +11,22 @@ angular.module('ngView', [],
var baseDir = '/built/';
var mapping =
[
- ["home", cachify("/built/view-home.html"), HomeCntl]
-,["aboutus", cachify("/built/view-aboutus.htmlbuild/markdown/resources.md'],
+ ["home", cachify("built/view-home.html"), HomeCntl]
+,["aboutus", cachify("built/view-aboutus.html")]
+,["pd", cachify("built/view-pd.html")]
+,["resources", cachify("built/view-resources.html"), ResourcesCntl]
+,["courses", cachify("built/view-courses.html")]
+,["quiz", cachify("built/view-quiz.html")]
+,["epic", cachify("built/view-epic.html"), EpicCntl]
+,["chat", cachify("built/view-chat.html"), chatCntl]
+,["filebrowser", cachify("built/view-filebrowser.html"), filebrowserCntl]
+,["contactus", cachify("built/view-contactus.html"), contactusCntl]
+,["enrol", cachify("built/view-enroll.html")]
+
+ // ['home', '/built/view-home.html', HomeCntl],
+ // ['aboutus', '/build/markdown/aboutus.md'],
+ // ['pd', '/built/view-pd.html'],
+ // ['resources', '/build/markdown/resources.md'],
// ['courses', '/built/view-courses.html'],
// ['quiz', '/build/markdown/quiz.md'],
// ['blog', '/build/markdown/blog.md'],
@@ -22,7 +36,7 @@ angular.module('ngView', [],
mapping.forEach(function(m) {
$routeProvider.when('/' + m[0], {
- templateUrl: '//' + document.location.host + m[1], controller: m[2] ? m[2] : DefaultCntl });
+ templateUrl: '//' + document.location.host + '/' + m[1], controller: m[2] ? m[2] : DefaultCntl });
});
$routeProvider.otherwise( {
Please sign in to comment.
Something went wrong with that request. Please try again.