Files
cloud-server/wrangler.toml
kappa 9f3d3a245a refactor: simplify pricing tables to USD-only
- Remove KRW pricing calculations from all pricing tables
- Simplify pricing table to store only wholesale USD prices
- Simplify anvil_pricing to store only retail USD prices
- Remove KRW environment variables (KRW_EXCHANGE_RATE, KRW_MARGIN_RATE)
- Remove KRW functions from constants.ts
- Update GPU/G8/VPU pricing repositories to match
- Add Anvil tables and repositories for branded product support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 21:16:25 +09:00

30 lines
579 B
TOML

name = "cloud-instances-api"
main = "src/index.ts"
compatibility_date = "2024-12-01"
# D1 Database Binding
[[d1_databases]]
binding = "DB"
database_name = "cloud-instances-db"
database_id = "bbcb472d-b25e-4e48-b6ea-112f9fffb4a8"
# KV Namespace for Rate Limiting
[[kv_namespaces]]
binding = "RATE_LIMIT_KV"
id = "15bcdcbde94046fe936c89b2e7d85b64"
# Environment Variables
[vars]
VAULT_URL = "https://vault.anvil.it.com"
SYNC_BATCH_SIZE = "100"
CACHE_TTL_SECONDS = "300"
LOG_LEVEL = "info"
CORS_ORIGIN = "*"
# Cron Triggers
[triggers]
crons = [
"0 0 * * *",
"0 */6 * * *"
]