fix: authenticate weblate requests (#6790)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
Seth Falco
2021-07-25 17:53:41 +02:00
committed by GitHub
parent 1e72d5e905
commit bd6f4ee146
12 changed files with 71 additions and 36 deletions

View File

@@ -52,6 +52,8 @@ public:
authorizedOrigins: 'SONAR_ORIGINS'
teamcity:
authorizedOrigins: 'TEAMCITY_ORIGINS'
weblate:
authorizedOrigins: 'WEBLATE_ORIGINS'
trace: 'TRACE_SERVICES'
cacheHeaders:
@@ -95,4 +97,5 @@ private:
wheelmap_token: 'WHEELMAP_TOKEN'
influx_username: 'INFLUX_USERNAME'
influx_password: 'INFLUX_PASSWORD'
weblate_api_key: 'WEBLATE_API_KEY'
youtube_api_key: 'YOUTUBE_API_KEY'

View File

@@ -22,6 +22,8 @@ public:
debug:
enabled: false
intervalSeconds: 200
weblate:
authorizedOrigins: 'https://hosted.weblate.org'
trace: false
cacheHeaders:

View File

@@ -10,5 +10,6 @@ private:
sl_insight_apiToken: ...
twitch_client_id: ...
twitch_client_secret: ...
weblate_api_key: ...
wheelmap_token: ...
youtube_api_key: ...

View File

@@ -7,5 +7,6 @@ private:
gh_token: '...'
twitch_client_id: '...'
twitch_client_secret: '...'
weblate_api_key: '...'
wheelmap_token: '...'
youtube_api_key: '...'