mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Trying just URL again since vercel URL doesn't work nicely
This commit is contained in:
parent
a3b7de9873
commit
eb72860b16
1 changed files with 1 additions and 2 deletions
|
|
@ -4,8 +4,7 @@ export async function getPropertyMeta(
|
|||
propertyId: string
|
||||
): Promise<PropertyMeta> {
|
||||
const url =
|
||||
(process.env.URL || process.env.VERCEL_URL) +
|
||||
`/api/building-passport/property-meta/${propertyId}`;
|
||||
process.env.URL + `/api/building-passport/property-meta/${propertyId}`;
|
||||
|
||||
const response = await fetch(url, {
|
||||
method: "GET",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue