Fix header image URL to use relative path instead of hardcoded production domain

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-01-31 20:52:19 -08:00
parent c5e9d1b0ff
commit 09172ace40

View file

@ -145,7 +145,7 @@ try {
// Add header image URL if extension exists
if (len(q.HeaderImageExtension)) {
business["HeaderImageURL"] = "https://biz.payfrit.com/uploads/headers/" & q.ID & "." & q.HeaderImageExtension;
business["HeaderImageURL"] = "/uploads/headers/" & q.ID & "." & q.HeaderImageExtension;
}
response["OK"] = true;