Skip to content

The only tool you need to know what is happening and how to fix it.

update

dduxbef0de5ad12e
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 36c8618b..b42b6f6f 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -37,6 +37,12 @@ export default defineConfig(({ mode }) => {
__CLOUD_MODE__: env.CLOUD_MODE,
__BILLING_AVAILABLE__: billingExists
},
+ resolve: {
+ dedupe: ['d3-scale', 'd3-array']
+ },
+ optimizeDeps: {
+ include: ['d3-scale', 'd3-array']
+ },
server: {
proxy: {
'/api': {
diff --git a/testing/devtesting/devtesting.go b/testing/devtesting/devtesting.go
index c26a1fc2..f1cb0481 100644
--- a/testing/devtesting/devtesting.go
+++ b/testing/devtesting/devtesting.go
@@ -56,7 +56,7 @@ func testGin() {
router.Use(tracewaygin.New(
endpoint,
tracewaygin.WithDebug(true),
- tracewaygin.WithRepanic(true),
+ // tracewaygin.WithRepanic(true),
tracewaygin.WithOnErrorRecording(tracewaygin.RecordingUrl|tracewaygin.RecordingQuery|tracewaygin.RecordingHeader|tracewaygin.RecordingBody),
))