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

@@ -291,7 +291,9 @@ export default {
ethicalAds: process.env.ETHICAL_ADS,
},
analytics: {
base_url: process.env.ARIADNE_URL,
base_url:
process.env.BROWSER_ARIADNE_URL ||
'https://staging-ariadne.modrinth.com/v1/',
},
},
privateRuntimeConfig: {
@@ -299,10 +301,15 @@ export default {
baseURL: process.env.BASE_URL,
headers: {
common: {
'x-ratelimit-key': process.env.RATE_LIMIT_IGNORE_KEY,
'x-ratelimit-key': process.env.RATE_LIMIT_IGNORE_KEY || '',
},
},
},
analytics: {
base_url:
process.env.ARIADNE_URL || 'https://staging-ariadne.modrinth.com/v1/',
admin_key: process.env.ARIADNE_ADMIN_KEY,
},
},
}