Skip to content

Commit 5bdf3ee

Browse files
committed
fix: Now REALLY User-Agent: potber instead of User-Agent: potber on outgoing requests.
1 parent ce42e35 commit 5bdf3ee

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
66

7+
## [3.1.3] - 2024-09-04
8+
9+
### Fixed
10+
11+
- Now REALLY `User-Agent: potber` instead of `User-Agent: potber` on outgoing requests.
12+
713
## [3.1.2] - 2024-09-04
814

915
### Fixed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "potber-api",
3-
"version": "3.1.2",
3+
"version": "3.1.3",
44
"description": "A modern JSON API for forum.mods.de",
55
"author": "https://spuxx.dev",
66
"private": true,

src/http/http.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ export function httpRequestInterceptor(
1515

1616
export const defaultHeaders: Partial<RawAxiosRequestHeaders> = {
1717
Accept: 'text/html,text/xml',
18-
'User-Agent': 'potber-api',
18+
'User-Agent': 'potber',
1919
};

0 commit comments

Comments
 (0)