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

@@ -8,7 +8,7 @@ import type { Post, PostListResponse, PostScope } from "../../../types/post";
const PAGE_SIZE = 20;
const MOCK_DELAY_MS = 200;
const USE_MOCK = import.meta.env.VITE_USE_MOCK_POSTS !== "false";
const USE_MOCK = import.meta.env.VITE_USE_MOCK_POSTS === "true";
export type PostStreamParams = {
scope: PostScope;