Browse Source

Chore: change User-Agent

SukkaW 8 months ago
parent
commit
2842cb63ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Build/lib/fetch-retry.ts

+ 1 - 1
Build/lib/fetch-retry.ts

@@ -153,7 +153,7 @@ export class ResponseError<T extends UndiciResponseData | Response> extends Erro
 
 export const defaultRequestInit = {
   headers: {
-    'User-Agent': 'curl/8.12.1 (https://github.com/SukkaW/Surge)'
+    'User-Agent': 'node-fetch'
   }
 };