🔧 chore(frontend): update build script in package.json to set NODE_ENV=development for build command

🔧 chore(frontend): add BASE_URL_API constant to constants.ts to store API base URL
🔧 chore(frontend): update API endpoints in controllers to use BASE_URL_API constant for better maintainability and flexibility
This commit is contained in:
Cristhian Zanforlin Lousa 2023-08-12 00:26:57 -03:00
commit b5987318f6
3 changed files with 12 additions and 8 deletions

View file

@ -69,7 +69,7 @@
"scripts": {
"dev:docker": "vite --host 0.0.0.0",
"start": "vite",
"build": "vite build",
"build": "vite build NODE_ENV=development",
"serve": "vite preview",
"format": "npx prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\""
},