rewrite: migrate to astro + workers w/ photos-api integration#112
Merged
Conversation
kale-stew
force-pushed
the
rewrite/workers
branch
from
May 25, 2026 18:13
834f533 to
a282e79
Compare
|
🧹 Preview cleaned up — PR merged! The preview worker has been deleted. |
kale-stew
force-pushed
the
rewrite/workers
branch
from
May 25, 2026 23:00
5699d2e to
c0dbc2f
Compare
kale-stew
force-pushed
the
rewrite/workers
branch
from
May 25, 2026 23:03
c0dbc2f to
f2747fb
Compare
kale-stew
force-pushed
the
rewrite/workers
branch
from
May 25, 2026 23:05
f2747fb to
3f6892e
Compare
…/, resoc-template/
kale-stew
force-pushed
the
rewrite/workers
branch
from
May 26, 2026 00:02
d846fdc to
46c3853
Compare
Critical fixes: - Fix SQL injection in photos-api PATCH/upload (use parameterized queries) - Add auth middleware for /admin/* routes (Cf-Access-JWT or Bearer token) - Move NOTION_TOKEN and CRON_SECRET from vars to wrangler secrets - Fix sync_log INSERT to match schema (sync_type, completed_at) Type safety: - Add missing 'src' property to Photo interface - Add input validation to admin API endpoints - Add CloudflareEnv type augmentation for env bindings Performance & UX: - Add Cache-Control headers to OG image endpoint - Add LIMIT 500 to photos and fallback queries - Extract shared photo fallback logic to src/lib/photo-fallbacks.ts - Fix deterministic short_id generation (SHA-256 vs random) Accessibility: - Add prefers-reduced-motion guard on scroll-behavior - Fix mobile nav to close on link click and outside click CSS: - Add missing tokens: --font-size-xs, --border-radius-sm, --color-accent-hover - Add semantic aliases: --color-bg, --color-text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rewrites to astro, workers + photos-api integration
changes include: