From 2fb62fe8bea48022dbb8769431e8cb462a2bd790 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Thu, 9 Jun 2022 15:34:30 -0700 Subject: [PATCH] Add ratelimit key header on SSR (#532) --- nuxt.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nuxt.config.js b/nuxt.config.js index e4fb18cf0..616cc4044 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -295,6 +295,11 @@ export default { privateRuntimeConfig: { axios: { baseURL: process.env.BASE_URL, + headers: { + common: { + 'x-ratelimit-key': process.env.RATE_LIMIT_IGNORE_KEY, + }, + }, }, }, }