aboutsummaryrefslogtreecommitdiff
path: root/build/index.js
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-05-27 17:26:34 -0500
committerGitHub <noreply@github.com>2021-05-27 17:26:34 -0500
commit99508233778e29d41248cd233b2e58a92f4020b8 (patch)
treeb0defcb0f839daed40c72c11841a0fb3029d25ec /build/index.js
parent6b32badf45dfd2961cb42240f15c2a91a45e99c4 (diff)
downloadskyblock-api-99508233778e29d41248cd233b2e58a92f4020b8.tar.gz
skyblock-api-99508233778e29d41248cd233b2e58a92f4020b8.tar.bz2
skyblock-api-99508233778e29d41248cd233b2e58a92f4020b8.zip
Profile customization (#46)
* add basic discord auth * add uuid dependency * add lastUpdated to sessions * add route to get session from id * add accounts collection * update build * add gm rank * add `customization` url parameter * add customization parameter to /player/:user * add route to get info from discord id * remove a console.log * Update database.js * Update package.json * fix tests * change mainSiteUrl
Diffstat (limited to 'build/index.js')
-rw-r--r--build/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/index.js b/build/index.js
index 09ca7d7..0f0b570 100644
--- a/build/index.js
+++ b/build/index.js
@@ -31,7 +31,7 @@ const discord = __importStar(require("./discord"));
const express_1 = __importDefault(require("express"));
const app = express_1.default();
exports.debug = false;
-const mainSiteUrl = 'http://localhost:8081';
+const mainSiteUrl = 'https://skyblock.matdoes.dev';
// 200 requests over 5 minutes
const limiter = express_rate_limit_1.default({
windowMs: 60 * 1000 * 5,