mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
Change default user-agent to something more plausible
This commit is contained in:
+1
-1
@@ -12,5 +12,5 @@ PIXIVFE_PORT="8282"
|
||||
PIXIVFE_HOST="127.0.0.1"
|
||||
# PIXIVFE_REQUESTLIMIT=
|
||||
# PIXIVFE_IMAGEPROXY=
|
||||
PIXIVFE_USERAGENT="Mozilla/5.0"
|
||||
PIXIVFE_USERAGENT="Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
|
||||
PIXIVFE_ACCEPTLANGUAGE="en-US,en;q=0.5"
|
||||
|
||||
@@ -83,7 +83,7 @@ var EnvList []*EnvVar = []*EnvVar{
|
||||
{
|
||||
Name: "PIXIVFE_USERAGENT",
|
||||
CommonName: "user agent",
|
||||
Value: "Mozilla/5.0",
|
||||
Value: "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0",
|
||||
// **Required**: No
|
||||
//
|
||||
// The value of the `User-Agent` header, used to make requests to Pixiv's API.
|
||||
|
||||
Reference in New Issue
Block a user