Add ariadnee (#560)

This commit is contained in:
Geometrically
2022-07-01 20:15:01 -07:00
committed by GitHub
parent 153d77359f
commit 928f6e7009
5 changed files with 25 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ export default ({ store }, inject) => {
const obj = { headers: {} }
if (process.server && process.env.RATE_LIMIT_IGNORE_KEY) {
obj.headers['x-ratelimit-key'] = process.env.RATE_LIMIT_IGNORE_KEY
obj.headers['x-ratelimit-key'] = process.env.RATE_LIMIT_IGNORE_KEY || ''
}
if (store.state.auth.user) {