mirror of
https://github.com/vee1e/subidx.git
synced 2026-09-01 17:57:13 +00:00
chore: remove Render configs, point docs at VPS domains
This commit is contained in:
parent
ba351a0f80
commit
faf6fb255f
2 changed files with 1 additions and 16 deletions
|
|
@ -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}`
|
||||
|
|
|
|||
15
render.yaml
15
render.yaml
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue