- Add architecture overview for dual-host URL routing (freno.me and *.freno.me) - Document Vercel JSON rewrite strategy for subdomain pass-through - Include task completion summary with verification results - Add SUFeedURL migration guide for new native builds - Add shell script for verifying dual-host endpoint functionality
1.5 KiB
1.5 KiB
SUFeedURL Migration for New Native Builds
This document tracks the SUFeedURL change needed in the Gaze and InputHalo native Swift repos to use subdomain-based feed URLs.
Status
- Gaze: Update
SUFeedURLin Info.plist (~/Code/Gaze/) - InputHalo: Update
SUFeedURLin Info.plist (~/Code/InputHalo/)
SUFeedURL Changes
Gaze
File: ~/Code/Gaze/ — Info.plist
Current (Legacy):
https://freno.me/api/Gaze/appcast.xml
New (Subdomain):
https://gaze.freno.me/api/Gaze/appcast.xml
InputHalo
File: ~/Code/InputHalo/ — Info.plist
Current (Legacy):
https://freno.me/api/InputHalo/appcast.xml
New (Subdomain):
https://inputhalo.freno.me/api/InputHalo/appcast.xml
Migration Notes
- Keep legacy URL working: Old builds continue to work via the
/api/*pass-through rewrite on Vercel - No appcast regeneration needed: The same S3 appcast files serve both URLs
- EdDSA signatures are host-independent: No signature changes needed
- Test before release: Verify Sparkle detects updates with the new subdomain URL in a dev build
Verification Steps
- Set
SUFeedURLin Info.plist to new subdomain URL - Build the app
- In the app: "Check for Updates..." → Should find the latest version
- Verify the download completes successfully
- Verify the EdDSA signature verification passes