2025-05-25 01:02:24 +07:00
|
|
|
// For development environment
|
2025-05-25 02:11:19 +07:00
|
|
|
const publicUrl = process.env.PUBLIC_URL || "/";
|
|
|
|
|
export const base_path = publicUrl.endsWith('/') ? publicUrl : publicUrl + '/';
|
2025-05-25 01:02:24 +07:00
|
|
|
|
|
|
|
|
// For production with a subdirectory (uncomment and modify as needed)
|
|
|
|
|
// export const base_path = "/react/";
|