diff --git a/next-env.d.ts b/next-env.d.ts
index 4f11a03d..a4a7b3f5 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/server/api/externalapi.ts b/server/api/externalapi.ts
index 0dc1f967..5c3566c7 100644
--- a/server/api/externalapi.ts
+++ b/server/api/externalapi.ts
@@ -1,5 +1,5 @@
import type { RateLimitOptions } from '@server/utils/rateLimit';
-import rateLimit from '@server/utils/rateLimit';
+// import rateLimit from '@server/utils/rateLimit';
import type NodeCache from 'node-cache';
// 5 minute default TTL (in seconds)
@@ -26,11 +26,12 @@ class ExternalAPI {
params: Record = {},
options: ExternalAPIOptions = {}
) {
- if (options.rateLimit) {
- this.fetch = rateLimit(fetch, options.rateLimit);
- } else {
- this.fetch = fetch;
- }
+ // if (options.rateLimit) {
+ // this.fetch = rateLimit(fetch, options.rateLimit);
+ // } else {
+ // this.fetch = fetch;
+ // }
+ this.fetch = fetch;
const url = new URL(baseUrl);
diff --git a/server/lib/imageproxy.ts b/server/lib/imageproxy.ts
index 04e320a0..e29e6a4e 100644
--- a/server/lib/imageproxy.ts
+++ b/server/lib/imageproxy.ts
@@ -1,6 +1,6 @@
import logger from '@server/logger';
import type { RateLimitOptions } from '@server/utils/rateLimit';
-import rateLimit from '@server/utils/rateLimit';
+// import rateLimit from '@server/utils/rateLimit';
import { createHash } from 'crypto';
import { promises } from 'fs';
import mime from 'mime/lite';
@@ -150,13 +150,14 @@ class ImageProxy {
this.baseUrl = baseUrl;
this.key = key;
- if (options.rateLimitOptions) {
- this.fetch = rateLimit(fetch, {
- ...options.rateLimitOptions,
- });
- } else {
- this.fetch = fetch;
- }
+ // if (options.rateLimitOptions) {
+ // this.fetch = rateLimit(fetch, {
+ // ...options.rateLimitOptions,
+ // });
+ // } else {
+ // this.fetch = fetch;
+ // }
+ this.fetch = fetch;
this.headers = options.headers || null;
}