mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
parent
76e86d64d1
commit
79bd897146
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ export async function get<T>(
|
|||
console.log(`GET /v1/${urlPath}`);
|
||||
|
||||
const headers = await getHeaders(`GET/${urlPath}`);
|
||||
delete headers["User-Agent"]; // this is in the browser, not allowed to modify UserAgent
|
||||
|
||||
const req = await axios.request({
|
||||
method: "GET",
|
||||
|
|
Loading…
Reference in a new issue