Skip to content

Commit

Permalink
chore: use new GitHub URL for used user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
rugk committed Jun 26, 2022
1 parent cbec587 commit b7259e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/modules/NetworkTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function convertUrlToString(url) {
*/
export function fetch(input, init = {}, ...args) {
const USER_AGENT_HEADER = "User-Agent";
const USER_AGENT_VALUE = `${ADDON_NAME_INTERNAL} (v${ADDON_VERSION}; https://github.com/rugk/mastodon-auto-follow; on ${BROWSER_IDENTIFIER})`;
const USER_AGENT_VALUE = `${ADDON_NAME_INTERNAL} (v${ADDON_VERSION}; https://github.com/rugk/mastodon-simplified-federation; on ${BROWSER_IDENTIFIER})`;

// init header object, if needed
if (!(init.headers instanceof Headers)) {
Expand Down

0 comments on commit b7259e0

Please sign in to comment.