diff --git a/client/vite.dev.mjs b/client/vite.dev.mjs index ed8450f..6e75486 100644 --- a/client/vite.dev.mjs +++ b/client/vite.dev.mjs @@ -30,6 +30,11 @@ const config = defineConfig(async (configEnv) => { changeOrigin: true, secure: true, }; + proxyConfig["/banners"] = { + target: targetBackend, + changeOrigin: true, + secure: true, + }; proxyConfig["/thumbnail"] = { target: targetBackend, changeOrigin: true, diff --git a/docker-compose.yaml b/docker-compose.yaml index 4b9f0f8..1a80656 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -77,4 +77,3 @@ services: - ./nginx.conf:/etc/nginx/nginx.conf - ./storage/files:/storage - ./:/app - diff --git a/docs/develop-windows-client.md b/docs/develop-windows-client.md index 2d30661..d6e13c1 100644 --- a/docs/develop-windows-client.md +++ b/docs/develop-windows-client.md @@ -10,7 +10,7 @@ This guide covers setting up a frontend-only development environment on Windows ## Installation -1. Check if Node.js 22.14+ is installed: +1. Open your console on the root of the project and check if Node.js 22.14+ is installed: ``` node --version ``` @@ -18,10 +18,15 @@ This guide covers setting up a frontend-only development environment on Windows 2. Clone the repository (if you haven't already) -3. Navigate to the client directory and run the development server: +3. To setup the configuration, navigate to the client directory and install the necessary packages run the following: ``` cp config.example.production.json config.json cd client + npm i + ``` + +4. Finally to run the development server run: + ``` npm run dev ```