fix: collaborator detection in backend and frontend
modify: backend build script revert: clean search bar on create/edit in frontend update: API urls in frontend
This commit is contained in:
@@ -28,7 +28,7 @@ const NewUserForm = ({ onSubmit, userType, plotNumber, fieldErrors }) => {
|
||||
|
||||
try {
|
||||
const latestNumber = import.meta.env.MODE === 'production' ?
|
||||
await getData("https://api.miarma.net/v2/huertos/users/latest-number", {}, false)
|
||||
await getData("https://api.huertosbellavista.es/v2/huertos/users/latest-number", {}, false)
|
||||
: await getData("http://localhost:8081/v2/huertos/users/latest-number", {}, false);
|
||||
setForm((prev) => ({
|
||||
...prev,
|
||||
|
||||
Reference in New Issue
Block a user