Skip to content

Switch plan sharing API to HTTPS#209

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/share-api-https
Apr 8, 2026
Merged

Switch plan sharing API to HTTPS#209
erikdarlingdata merged 1 commit intodevfrom
fix/share-api-https

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Changes ShareApiBase from http://87.99.137.152:8080 to https://stats.erikdarling.com
  • Nginx on the Hetzner server proxies /api/ requests to the planshare service on localhost:8080
  • Fixes mixed-content browser block (HTTPS page calling HTTP API)

Test plan

  • Share a plan from plans.erikdarling.com — should succeed without "Failed to fetch"
  • Load a shared plan via URL — should resolve correctly
  • Delete a shared plan — should work

🤖 Generated with Claude Code

Fixes mixed-content browser block when sharing plans from the
HTTPS-hosted GitHub Pages site to the HTTP planshare API.
Nginx on the Hetzner server now proxies /api/ to the planshare
service on localhost:8080.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 5056f41 into dev Apr 8, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/share-api-https branch April 9, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant