Skip to content

Commit

Permalink
Include version in Inflator useragent string
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Sep 18, 2024
1 parent e8d485c commit 474b787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.netkan
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ USER netkan
WORKDIR /home/netkan
ADD --chown=netkan netkan.exe .
ENTRYPOINT /usr/bin/mono netkan.exe --game ${GAME:-KSP} --queues $QUEUES \
--net-useragent 'Mozilla/5.0 (compatible; Netkanbot/1.0; CKAN; +https://github.com/KSP-CKAN/NetKAN-Infra)' \
--net-useragent "Mozilla/5.0 (compatible; Netkanbot/1.0; CKAN/$(/usr/bin/mono netkan.exe --version); +https://github.com/KSP-CKAN/NetKAN-Infra)" \
--github-token $GH_Token --gitlab-token "$GL_Token" --cachedir ckan_cache -v

0 comments on commit 474b787

Please sign in to comment.