Changes to web configs

This commit is contained in:
Markus Unterwaditzer
2025-06-28 21:05:17 +02:00
committed by Will Greenberg
parent 0be2b02349
commit 41133ba793
9 changed files with 141 additions and 126 deletions

View File

@@ -1,4 +1,4 @@
import { defineConfig } from "vitest/config";
import { defineConfig } from 'vitest/config';
import { sveltekit } from '@sveltejs/kit/vite';
export default defineConfig({
@@ -16,11 +16,15 @@ export default defineConfig({
console.log('Sending Request to the Target:', req.method, req.url);
});
proxy.on('proxyRes', (proxyRes, req, _res) => {
console.log('Received Response from the Target:', proxyRes.statusCode, req.url);
console.log(
'Received Response from the Target:',
proxyRes.statusCode,
req.url
);
});
},
},
},
}
}
}
},
plugins: [sveltekit()],