diff --git a/.env.example b/.env.example index 61575f7..16aca5a 100644 --- a/.env.example +++ b/.env.example @@ -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" diff --git a/doc/Environment Variables.go b/doc/Environment Variables.go index ebbd099..dd64a65 100644 --- a/doc/Environment Variables.go +++ b/doc/Environment Variables.go @@ -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.