diff --git a/package.json b/package.json index 8ea98e1d8..2d749778c 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "dev": "npm run -w writer-ui dev", "storybook": "npm run -w writer-ui storybook", "storybook.build": "npm run -w writer-ui storybook.build", - "custom.dev": "npm run -w writer-ui dev", + "custom.dev": "npm run -w writer-ui custom.dev", "cli:test": "pytest tests -o log_cli=true ", "cli:lint": "mypy ./src/writer --exclude app_templates/* && ruff check", diff --git a/src/ui/vite.config.custom.ts b/src/ui/vite.config.custom.ts index 9d0ecd30c..2534e3385 100644 --- a/src/ui/vite.config.custom.ts +++ b/src/ui/vite.config.custom.ts @@ -46,6 +46,7 @@ export default defineConfig({ }, }, server: { + port: 5174, proxy: { "/api": { target: "http://127.0.0.1:5000",