- Fix .eslintrc.json format (remove comments and invalid JSON syntax) - Simplify environment.jsx to fix parsing error - Add proper ESLint rules for React project - Enable react-hooks plugin and configure settings
6 lines
198 B
JavaScript
6 lines
198 B
JavaScript
// For development environment
|
|
export const base_path = process.env.PUBLIC_URL || "/";
|
|
|
|
// For production with a subdirectory (uncomment and modify as needed)
|
|
// export const base_path = "/react/";
|