diff options
-rw-r--r-- | build/index.js | 2 | ||||
-rw-r--r-- | package-lock.json | 20 | ||||
-rw-r--r-- | src/index.ts | 2 |
3 files changed, 12 insertions, 12 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, diff --git a/package-lock.json b/package-lock.json index 5c5cfd2..eaf9338 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1305,16 +1305,6 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -1330,6 +1320,16 @@ } } }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", diff --git a/src/index.ts b/src/index.ts index 3d6bf6f..0937e4e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ const app = express() export const debug = false -const mainSiteUrl = 'http://localhost:8081' +const mainSiteUrl = 'https://skyblock.matdoes.dev' // 200 requests over 5 minutes const limiter = rateLimit({ |