fix: authenticate weblate requests (#6790)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
@@ -135,6 +135,7 @@ const publicConfigSchema = Joi.object({
|
||||
npm: defaultService,
|
||||
sonar: defaultService,
|
||||
teamcity: defaultService,
|
||||
weblate: defaultService,
|
||||
trace: Joi.boolean().required(),
|
||||
}).required(),
|
||||
cacheHeaders: { defaultCacheLengthSeconds: nonNegativeInteger },
|
||||
@@ -182,6 +183,7 @@ const privateConfigSchema = Joi.object({
|
||||
wheelmap_token: Joi.string(),
|
||||
influx_username: Joi.string(),
|
||||
influx_password: Joi.string(),
|
||||
weblate_api_key: Joi.string(),
|
||||
youtube_api_key: Joi.string(),
|
||||
}).required()
|
||||
const privateMetricsInfluxConfigSchema = privateConfigSchema.append({
|
||||
|
||||
Reference in New Issue
Block a user