be nice and set user agent when sending to wapi
All checks were successful
commit-tag / commit-tag-image (map[context:./migrations file:./migrations/Dockerfile name:migrations]) (push) Successful in 16s
commit-tag / commit-tag-image (map[context:./ts file:./ts/Dockerfile name:ts]) (push) Successful in 1m12s

This commit is contained in:
a 2025-03-02 18:38:10 -06:00
parent a5deea411b
commit 33e131364a
No known key found for this signature in database
GPG Key ID: 2F22877AA4DFDADB

View File

@ -10,7 +10,10 @@ export class WApi {
constructor() {
const c = axios.create({
baseURL: config.WAPI_URL,
baseURL: config.WAPI_URL,
headers: {
"User-Agent": "lil-robot-guy (a@tuxpa.in)",
},
})
setupCache(c);
this.c = c;