From c75aa11ae6b5c71d0072f0f51ac61b9f5c6b150f Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 27 Dec 2024 15:03:42 +0800 Subject: [PATCH] Fix: The edit box for the headers parameter of the invoke operator is always loading. #4265 (#4266) ### What problem does this PR solve? Fix: The edit box for the headers parameter of the invoke operator is always loading. #4265 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/.umirc.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/.umirc.ts b/web/.umirc.ts index b96d84c1b..75a8bb505 100644 --- a/web/.umirc.ts +++ b/web/.umirc.ts @@ -30,7 +30,10 @@ export default defineConfig({ }, }, devtool: 'source-map', - copy: ['src/conf.json'], + copy: [ + { from: 'src/conf.json', to: 'dist/conf.json' }, + { from: 'node_modules/monaco-editor/min/vs/', to: 'dist/vs/' }, + ], proxy: [ { context: ['/api', '/v1'],