From 694cdc76adaf1f9da5a9790b8ddd313dc961d240 Mon Sep 17 00:00:00 2001 From: waltem01 Date: Wed, 28 Feb 2024 11:39:37 +0100 Subject: [PATCH] remove unused proxy --- Webserver/vite.config.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Webserver/vite.config.ts b/Webserver/vite.config.ts index 2177d5d..f78a266 100644 --- a/Webserver/vite.config.ts +++ b/Webserver/vite.config.ts @@ -1,18 +1,10 @@ import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vitest/config'; -import { setGlobalDispatcher, ProxyAgent } from 'undici' - -if (process.env.npm_config_https_proxy) - setGlobalDispatcher( - new ProxyAgent({ - uri: new URL(process.env.npm_config_https_proxy).toString() - }) - ); export default defineConfig({ plugins: [sveltekit()], test: { include: ['src/**/*.{test,spec}.{js,ts}'], exclude: ['src/playwright'] - } + }, });