be nice and set user agent when sending to wapi
This commit is contained in:
parent
a5deea411b
commit
33e131364a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user