Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .env.guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,45 +99,6 @@ NEXT_PUBLIC_KAKAO_JS_KEY=b285223d3e57a6820552018b93805658

---

## AI Inspector Env Registration

### 1) Web 런타임 (Next.js API Route)

등록 위치:
- 로컬: `apps/web/.env.local`
- 배포: Vercel Project > Settings > Environment Variables (Preview/Production)

필수:
```
NEXT_PUBLIC_API_SERVER_URL=https://api.<env>.solid-connection.com
AI_INSPECTOR_FIREBASE_PROJECT_ID=<firebase-project-id>
AI_INSPECTOR_FIREBASE_CLIENT_EMAIL=<service-account-client-email>
AI_INSPECTOR_FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
```

선택:
```
AI_INSPECTOR_FIRESTORE_COLLECTION=aiInspectorTasks
```

### 2) Worker (GitHub Actions)

등록 위치:
- GitHub Repository > Settings > Secrets and variables > Actions > Repository secrets

필수:
- `AI_INSPECTOR_FIREBASE_PROJECT_ID`
- `AI_INSPECTOR_FIREBASE_CLIENT_EMAIL`
- `AI_INSPECTOR_FIREBASE_PRIVATE_KEY`

선택:
- `AI_INSPECTOR_PATCH_ENDPOINT`
- `AI_INSPECTOR_PATCH_API_KEY`
- `AI_INSPECTOR_PREVIEW_URL_TEMPLATE`
- `AI_INSPECTOR_DISCORD_WEBHOOK_URL`

---

## Best Practices

1. **환경별 값은 Vercel 대시보드에서 관리**
Expand Down
4 changes: 4 additions & 0 deletions .env.preview
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ NEXT_PUBLIC_API_SERVER_URL=https://api.stage.solid-connection.com

# kakao
NEXT_PUBLIC_KAKAO_JS_KEY=c080f1d215a69b47401cda1d7528418a

# Login mode configuration for preview
# Preview 환경에서는 stage API와 쿠키 로그인 사용
NEXT_PUBLIC_COOKIE_LOGIN_ENABLED=true
17 changes: 8 additions & 9 deletions apps/web/public/images/placeholder/profile64.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/web/src/components/ui/ProfileWithBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ProfileWithBadge = ({
{/* 프로필 이미지 */}
<div
className={`h-full w-full overflow-hidden rounded-full ${
showMentorBadge ? "border-2 border-primary-1" : "border border-gray-200"
showMentorBadge ? "border-2 border-primary-2" : "border-none"
}`}
>
<Image
Expand Down
Loading