[Dev] Remove logging for api requests outside of dev (#4804)
This commit is contained in:
parent
b2fdb9fcd1
commit
2b91d9d259
|
@ -69,7 +69,9 @@ export abstract class ApiBase {
|
|||
"Content-Type": config.headers?.["Content-Type"] ?? "application/json",
|
||||
};
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
console.log(`Sending ${config.method ?? "GET"} request to: `, this.base + path, config);
|
||||
}
|
||||
|
||||
return await fetch(this.base + path, config);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue