Add ratelimit key header on SSR (#532)

This commit is contained in:
Geometrically 2022-06-09 15:34:30 -07:00 committed by GitHub
parent 43b8941f7a
commit 2fb62fe8be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -295,6 +295,11 @@ export default {
privateRuntimeConfig: {
axios: {
baseURL: process.env.BASE_URL,
headers: {
common: {
'x-ratelimit-key': process.env.RATE_LIMIT_IGNORE_KEY,
},
},
},
},
}