Files
calendar/Trunk.toml
Connor Johnstone 42091492d5 Make backend API URL configurable via environment variables
Updated frontend to use BACKEND_API_URL environment variable at compile time with fallback to localhost. Added configuration to Trunk.toml and .env.example for development.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-28 16:26:48 -04:00

15 lines
213 B
TOML

[build]
target = "index.html"
dist = "dist"
[env]
BACKEND_API_URL = "http://localhost:3000/api"
[watch]
watch = ["src", "Cargo.toml"]
ignore = ["backend/"]
[serve]
address = "127.0.0.1"
port = 8080
open = false