Версия 0.4.3 Исправление пути для изображений в каточке зоны.
This commit is contained in:
parent
d4a6c17bdf
commit
086c0b0ae9
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "lawn-mowing-scheduler",
|
||||
"private": true,
|
||||
"version": "0.4.2",
|
||||
"version": "0.4.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"npm run server\" \"npm run client\"",
|
||||
|
@ -10,7 +10,8 @@ interface ZoneCardProps {
|
||||
onDelete: (id: number) => void;
|
||||
}
|
||||
|
||||
const API_BASE = import.meta.env.VITE_API_URL;
|
||||
const APP_MODE = import.meta.env.VITE_ENV;
|
||||
const API_BASE = APP_MODE == "development" ? import.meta.env.VITE_API_URL : "";
|
||||
|
||||
const ZoneCard: React.FC<ZoneCardProps> = ({
|
||||
zone,
|
||||
|
Loading…
x
Reference in New Issue
Block a user