diff --git a/src/components/UpdateProfile/UpdatePublicProfileForm.tsx b/src/components/UpdateProfile/UpdatePublicProfileForm.tsx index 18231dfe7..3563c9240 100644 --- a/src/components/UpdateProfile/UpdatePublicProfileForm.tsx +++ b/src/components/UpdateProfile/UpdatePublicProfileForm.tsx @@ -27,7 +27,7 @@ type GetProfileSettingsResponse = Pick< export function UpdatePublicProfileForm() { const [profileVisibility, setProfileVisibility] = - useState('private'); + useState('public'); const toast = useToast(); @@ -117,7 +117,7 @@ export function UpdatePublicProfileForm() { setTwitter(links?.twitter || ''); setLinkedin(links?.linkedin || ''); setWebsite(links?.website || ''); - setProfileVisibility(defaultProfileVisibility || 'private'); + setProfileVisibility(defaultProfileVisibility || 'public'); setHeadline(publicConfig?.headline || ''); setRoadmapVisibility(publicConfig?.roadmapVisibility || 'none'); setCustomRoadmapVisibility(publicConfig?.customRoadmapVisibility || 'none'); diff --git a/src/pages/v1-stats.json.ts b/src/pages/v1-stats.json.ts index 4a84aeba8..4986d75a4 100644 --- a/src/pages/v1-stats.json.ts +++ b/src/pages/v1-stats.json.ts @@ -1,6 +1,6 @@ import { execSync } from 'child_process'; -export const prerender = false; +export const prerender = true; export async function GET() { const commitHash = execSync('git rev-parse HEAD').toString().trim();