From 33e131364af032bf50fcb80d619e5ebb8063b022 Mon Sep 17 00:00:00 2001 From: a Date: Sun, 2 Mar 2025 18:38:10 -0600 Subject: [PATCH] be nice and set user agent when sending to wapi --- ts/src/lib/wynn/wapi.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/src/lib/wynn/wapi.ts b/ts/src/lib/wynn/wapi.ts index 5504385..a0fb5e4 100644 --- a/ts/src/lib/wynn/wapi.ts +++ b/ts/src/lib/wynn/wapi.ts @@ -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;