summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/api-example.js10
-rw-r--r--src/config/database-docker.js2
-rw-r--r--src/config/database-example.js2
-rw-r--r--src/config/domain-example.js22
4 files changed, 18 insertions, 18 deletions
diff --git a/src/config/api-example.js b/src/config/api-example.js
index 9202f0a..493b9d6 100644
--- a/src/config/api-example.js
+++ b/src/config/api-example.js
@@ -1,8 +1,8 @@
// Which of these fields are used depends on the 'mailService' config entry in config/domain.js
module.exports = {
- 'sendgrid' : '', // If using SendGrid, the Sendgrid API key goes here
- 'smtpServer': '', // If using Nodemailer, your SMTP server hostname goes here
- 'smtpPort': '', // If using Nodemailer, your SMTP server port goes here
- 'smtpUsername': '', // If using Nodemailer, your SMTP server username goes here
- 'smtpPassword': '' // If using Nodemailer, your SMTP password goes here
+ sendgrid: "", // If using SendGrid, the Sendgrid API key goes here
+ smtpServer: "", // If using Nodemailer, your SMTP server hostname goes here
+ smtpPort: "", // If using Nodemailer, your SMTP server port goes here
+ smtpUsername: "", // If using Nodemailer, your SMTP server username goes here
+ smtpPassword: "", // If using Nodemailer, your SMTP password goes here
};
diff --git a/src/config/database-docker.js b/src/config/database-docker.js
index 7847097..96c987d 100644
--- a/src/config/database-docker.js
+++ b/src/config/database-docker.js
@@ -1,3 +1,3 @@
module.exports = {
- 'url' : 'mongodb://mongo:27017/gathio' // For dockerised MongoDB connection
+ url: "mongodb://mongo:27017/gathio", // For dockerised MongoDB connection
};
diff --git a/src/config/database-example.js b/src/config/database-example.js
index 4aa4c4d..ca7bdcc 100644
--- a/src/config/database-example.js
+++ b/src/config/database-example.js
@@ -1,3 +1,3 @@
module.exports = {
- 'url' : 'mongodb://localhost:27017/gathio' // For local MongoDB connection
+ url: "mongodb://localhost:27017/gathio", // For local MongoDB connection
};
diff --git a/src/config/domain-example.js b/src/config/domain-example.js
index 19c797a..abac094 100644
--- a/src/config/domain-example.js
+++ b/src/config/domain-example.js
@@ -1,13 +1,13 @@
module.exports = {
- // Your domain goes here. If there is a port it should be 'domain:port', but otherwise just 'domain'
- 'domain' : 'localhost:3000' ,
- 'port': '3000',
- 'email': 'contact@example.com',
- 'mailService': 'nodemailer', // Which mail service to use to send emails to attendees. Options are 'nodemailer' or 'sendgrid'. Configure settings for the mail service in config/api.js.z
- 'sitename': 'gathio',
- 'isFederated': true,
- // If left blank, this defaults to https://yourdomain.com/images/gathio-email-logo.gif. Set a full URL here to change it to your own logo (or just change the file itself)
- 'logo_url': '',
- // Show a Ko-Fi box to donate money to Raphael Kabo (Gathio's creator) on the front page
- 'showKofi': false,
+ // Your domain goes here. If there is a port it should be 'domain:port', but otherwise just 'domain'
+ domain: "localhost:3000",
+ port: "3000",
+ email: "contact@example.com",
+ mailService: "nodemailer", // Which mail service to use to send emails to attendees. Options are 'nodemailer' or 'sendgrid'. Configure settings for the mail service in config/api.js.z
+ sitename: "gathio",
+ isFederated: true,
+ // If left blank, this defaults to https://yourdomain.com/images/gathio-email-logo.gif. Set a full URL here to change it to your own logo (or just change the file itself)
+ logo_url: "",
+ // Show a Ko-Fi box to donate money to Raphael Kabo (Gathio's creator) on the front page
+ showKofi: false,
};