mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 10:34:53 +00:00
Add ratelimit key header on SSR (#532)
This commit is contained in:
@@ -295,6 +295,11 @@ export default {
|
|||||||
privateRuntimeConfig: {
|
privateRuntimeConfig: {
|
||||||
axios: {
|
axios: {
|
||||||
baseURL: process.env.BASE_URL,
|
baseURL: process.env.BASE_URL,
|
||||||
|
headers: {
|
||||||
|
common: {
|
||||||
|
'x-ratelimit-key': process.env.RATE_LIMIT_IGNORE_KEY,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user