chore: ⬆️ Upgrade dependencies

This commit is contained in:
Jesse Wierzbinski 2024-08-26 18:15:14 +02:00
parent bc0943c569
commit 9c71c3fe51
No known key found for this signature in database
7 changed files with 14 additions and 9 deletions

View file

@ -54,6 +54,7 @@ export const mimeLookup = async (url: string) => {
const fetchLookup = fetch(url, {
method: "HEAD",
// @ts-expect-error Proxy is a Bun-specific feature
proxy: config.http.proxy.address,
}).then((response) => response.headers.get("content-type") || "");

View file

@ -28,6 +28,7 @@ const checkHttpProxyConfig = async (config: Config) => {
// Test the proxy
const response = await fetch("https://api.ipify.org?format=json", {
// @ts-expect-error Proxy is a Bun-specific feature
proxy: config.http.proxy.address,
});