forked from Itz-Hyperz/Forums-System-EJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
32 lines (24 loc) · 961 Bytes
/
Copy pathconfig.js
File metadata and controls
32 lines (24 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const _config = {
domain: "http://localhost:3000",
port: 3000,
debugMode: false,
timezone: "America/New_York", // Get a timezone from here: https://momentjs.com/timezone/
birthday_date_format: "MM-DD", // Just needs Month & Day, year is not relevant
logging_date_format: "MM-DD-YYYY", // This is used for logging purposes, include a year with this
sql: {
host: "localhost",
user: "root",
password: "",
database: "boards" // By default the database name in the install.sql file is boards. Unless you change it manually, leave it as that.
},
discord: {
oauthId: "YOUR_CLIENT_ID",
oauthToken: "YOUR_CLIENT_SECRET"
},
ownerIds: ["704094587836301392", "YOUR_USER_ID"],
redirects: [
{ name: `hyperz`, link: `https://store.hyperz.net/store/boards` },
{ name: `discord`, link: `https://store.hyperz.net/discord` },
]
};
module.exports = _config;