Change property options API endpoint to deployed URL

This commit is contained in:
lora322 2025-09-11 12:27:54 -04:00 committed by GitHub
parent 6de7feefc1
commit b6e0235f88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@ const OrdersNew = () => {
// Fetch property options from your backend API
useEffect(() => {
fetch('/api/properties') // <-- update as appropriate
fetch('https://vres.flatlogic.app/api/properties') // <-- uses deployed api
.then(res => res.json())
.then(data => {
const options = data.map(property => ({