mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-25 11:31:46 +00:00
remove unused proxy
This commit is contained in:
parent
e14ee55ff4
commit
694cdc76ad
@ -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']
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user