diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.ts index f74920c..e1ebebb 100644 --- a/frontend/src/lib/api.ts +++ b/frontend/src/lib/api.ts @@ -6,7 +6,7 @@ export interface Row { } // Where the API lives. Empty means same-origin (the single-binary -// deployment); Vercel builds set VITE_API_BASE to the Render service URL. +// deployment); Vercel builds set VITE_API_BASE to the VPS API URL. export const apiBase = ((import.meta.env.VITE_API_BASE as string | undefined) ?? '').replace(/\/+$/, '') const apiUrl = (path: string) => `${apiBase}${path}` diff --git a/render.yaml b/render.yaml deleted file mode 100644 index 5761aa1..0000000 --- a/render.yaml +++ /dev/null @@ -1,15 +0,0 @@ -services: - - type: web - name: subidx - runtime: docker - plan: starter - region: oregon - healthCheckPath: /healthz - envVars: - - key: CORS_ORIGINS - sync: false - value: https://your-dashboard.vercel.app - disks: - - name: subidx-store - mountPath: /var/data - sizeGB: 5