chore: mark completed plan checklists (CORS, peer fix, deployment tools, phase 4.5)

This commit is contained in:
datadunia
2026-05-22 10:19:11 +07:00
parent 2ba5880a1b
commit 821169a179
4 changed files with 26 additions and 29 deletions
+7 -10
View File
@@ -18,8 +18,7 @@ Current CORS config in `main.go:114-130`:
---
## Task 1: Fix CORS config in `main.go`
**File**: `apps/server-core/main.go` lines 114-130
- [x] **File**: `apps/server-core/main.go` lines 114-130
**Replace** the current CORS block with:
@@ -65,8 +64,7 @@ r.Use(cors.New(corsConfig))
---
## Task 2: Add `CORS_ALLOWED_ORIGINS` to root `.env.example`
**File**: `.env.example`
- [x] **File**: `.env.example`
**Add** after `VITE_API_BASE_URL` line (section 5):
@@ -85,8 +83,7 @@ SHARE_LINK_TTL=24h
---
## Task 3: Add `CORS_ALLOWED_ORIGINS` to server-core `.env.example`
**File**: `apps/server-core/.env.example`
- [x] **File**: `apps/server-core/.env.example`
**Add** at the end:
@@ -105,7 +102,7 @@ SHARE_LINK_TTL=24h
## Final Verification Wave
- [ ] `go build ./...` passes in `apps/server-core/`
- [ ] `CORS_ALLOWED_ORIGINS` present in root `.env.example`
- [ ] `CORS_ALLOWED_ORIGINS` present in `apps/server-core/.env.example`
- [ ] No other files reference `CORS_ALLOWED_ORIGINS` that need updating
- [x] `go build ./...` passes in `apps/server-core/`
- [x] `CORS_ALLOWED_ORIGINS` present in root `.env.example`
- [x] `CORS_ALLOWED_ORIGINS` present in `apps/server-core/.env.example`
- [x] No other files reference `CORS_ALLOWED_ORIGINS` that need updating