This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch feat-5791 in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 71b60e01e83f71b269daf19ddc20df5ebefb2aed Author: mintsweet <[email protected]> AuthorDate: Tue Sep 12 15:39:13 2023 +1200 fix(config-ui): match full the api rewrite --- config-ui/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-ui/vite.config.ts b/config-ui/vite.config.ts index 695c2095b..89f068d13 100644 --- a/config-ui/vite.config.ts +++ b/config-ui/vite.config.ts @@ -30,7 +30,7 @@ export default defineConfig({ '/api': { target: 'http://localhost:8080/', changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, ''), + rewrite: (path) => path.replace(/^\/api\//, ''), }, }, },
