Fixed other typo
This commit is contained in:
1 parent
3e7cdb69c2
commit
8079be897e
2 files changed
+56
-1
No files matched your search
@@ -0,0 +1,55 @@
|
||||
module.exports = {
|
||||
maintenance: false,
|
||||
mongodb: "",
|
||||
bot: {
|
||||
id: "",
|
||||
token: "",
|
||||
channels: {
|
||||
login: "",
|
||||
vote: "",
|
||||
error: "",
|
||||
info: "",
|
||||
},
|
||||
bsl: {
|
||||
id: "",
|
||||
token: "",
|
||||
channels: {
|
||||
vote: "",
|
||||
error: "",
|
||||
},
|
||||
invite: ""
|
||||
}
|
||||
},
|
||||
discord: {
|
||||
id: "",
|
||||
invite: "",
|
||||
roles: {
|
||||
admin: "",
|
||||
mod: "",
|
||||
user: "",
|
||||
bot: ""
|
||||
}
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
host: "http://localhost:3000",
|
||||
tags: [
|
||||
"development",
|
||||
"fun",
|
||||
"media",
|
||||
"company",
|
||||
"game",
|
||||
"emoji",
|
||||
"turkish",
|
||||
"support",
|
||||
"sound",
|
||||
"chatting",
|
||||
"nsfw",
|
||||
"challange"
|
||||
]
|
||||
},
|
||||
users: {
|
||||
owner: [""],
|
||||
verificator: [""],
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,5 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
const port = process.env.PORT || 3000;
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const session = require('express-session');
|
||||
@@ -17,6 +16,7 @@ var auth = require('./routers/auth');
|
||||
var servers = require('./routers/servers');
|
||||
var api = require('./routers/api');
|
||||
var client = require('../index');
|
||||
const port = client.config.server.port || 3000;
|
||||
app.set('view engine', 'ejs');
|
||||
app.set('views', path.join(__dirname, '/views'));
|
||||
const rateLimit = require('express-rate-limit')
|
||||
|
||||
Reference in new issue
Block a user