diff --git a/src/app/api/orders/[id]/design-spec/route.ts b/src/app/api/orders/[id]/design-spec/route.ts index ccd0f23..ab9dc30 100644 --- a/src/app/api/orders/[id]/design-spec/route.ts +++ b/src/app/api/orders/[id]/design-spec/route.ts @@ -94,33 +94,11 @@ export async function GET(req: Request, { params }: { params: { id: string } }) X (0cm) Y (0cm) - - ${designElements.map((el, idx) => { - const elWidth = el.width || 58; - const elHeight = el.height || 58; - const elCenterX = el.x + elWidth / 2; - const elCenterY = el.y + elHeight / 2; - - // Use visually measured distances from garment - // These should be measured from the center of each design element - const distToTopInches = "4.00"; - const distToRightInches = "2.00"; - return ` - - - - T: ${distToTopInches}" - - - - - R: ${distToRightInches}" - - - - E${idx + 1} - `; - }).join('')} + + ${designElements.map((el, idx) => ` + + E${idx + 1} + `).join('')}