Personal Catalogue: React, Express & MongoDB — Chapter 10, Exercise 3 ===================================================================== TASK Set only base in vite.config.js without also setting VITE_API_URL (leaving Chapter 9's own empty-string fallback in place), rebuild, and confirm the page itself loads correctly while every API call still fails -- demonstrating why the chapter's own warn-box treats these as two separate fixes, not one. SOLUTION catalogue-web/vite.config.js (base set, as in Exercise 1): export default defineConfig({ plugins: [react()], base: '/catalogue/', }); catalogue-web/.env.production -- deliberately deleted or left empty for this exercise, so API_BASE_URL falls back to Chapter 9's own '' default. Rebuild and serve through the same nginx setup from Exercise 2: cd catalogue-web && npm run build && cd .. # restart node server.js to pick up the new build # nginx config from Exercise 2 already in place Testing the page load: curl -i http://localhost:8080/catalogue/ Output: a real 200 response. The page loads correctly, and its own