feat: enable real posts api by default

This commit is contained in:
TerryM
2026-05-26 14:07:10 +08:00
parent d3c30795dc
commit 78bdf73143
6 changed files with 70 additions and 31 deletions

View File

@@ -13,6 +13,6 @@ VITE_ADMIN_ONLY=false
# Optional admin UI base path. Leave empty to use default app behavior.
VITE_ADMIN_UI_PREFIX=
# Use mock Post data (Telegram-style resource stream) while backend /api/posts
# endpoints are not yet ready. Set to "false" to hit real API.
VITE_USE_MOCK_POSTS=true
# Use mock Post data (Telegram-style resource stream) only when explicitly enabled.
# Default production/staging behavior should hit the real /api/posts API.
VITE_USE_MOCK_POSTS=false