You've already forked AstralRinth
forked from didirus/AstralRinth
Fix random Nuxt internal server errors (#551)
* Fix random Nuxt internal server errors * Fix ratelimit key being exposed * Add GDPR clarification
This commit is contained in:
+1
-1
@@ -570,7 +570,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
const res = await this.$axios.get(url)
|
||||
const res = await this.$axios.get(url, this.$defaultHeaders())
|
||||
this.results = res.data.hits
|
||||
|
||||
const pageAmount = Math.ceil(res.data.total_hits / res.data.limit)
|
||||
|
||||
Reference in New Issue
Block a user