1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-24 11:22:31 +01:00

Merge pull request #493 from RiversideRocks/patch-1

Change user agent
This commit is contained in:
Samuel 2021-10-21 13:28:57 -04:00 committed by GitHub
commit 90ece05efc

View File

@ -33,7 +33,7 @@ const DEFAULT_FETCH_OPTIONS: any = {
redirect: "follow",
follow: 1,
headers: {
"user-agent": "Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)"
"user-agent": "Mozilla/5.0 (compatible; Fosscord/1.0; +https://github.com/fosscord/fosscord)"
},
size: 1024 * 1024 * 1,
compress: true,