Удалить config.js
This commit is contained in:
parent
a39d388864
commit
5f1458e5a2
1 changed files with 0 additions and 22 deletions
22
config.js
22
config.js
|
@ -1,22 +0,0 @@
|
|||
require("dotenv").config({
|
||||
path: "stack.env",
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
/* Set true for production database */
|
||||
production: process.env.PROD ? true : false || true,
|
||||
/* Your domain without / at the end */
|
||||
domain: process.env.DOMAIN || "http://localhost:6547",
|
||||
/* Port for the server */
|
||||
port: process.env.PORT || 6547,
|
||||
/* How often can user send request to API */
|
||||
rateLimitTime: process.env.RATELIMIT || 1000 * 5, // 5 seconds
|
||||
/* How often can user change IP address */
|
||||
ipChangeTime: process.env.IPCHANGETIME || 1000 * 60 * 60 * 3, // 3 hours
|
||||
/* Your SteamAPI key */
|
||||
steamKey: process.env.STEAMKEY || "",
|
||||
/* Secret for a cookie */
|
||||
cookieSecret: process.env.COOKIE || "",
|
||||
/* Discord webhook url or leave empty */
|
||||
webhook_url: process.env.WEBHOOK || "",
|
||||
};
|
Loading…
Reference in a new issue