Secure API gateway for Aspire Themes. Keeps API keys safe on the server side.
- Click the Deploy to Cloudflare button above
- In Cloudflare Dashboard → Workers → aspire-gateway → Settings → Variables:
- Set
ALLOWED_ORIGINSto your domain (e.g.,mysite.com) - Add API keys as secrets:
ELEVENLABS_API_KEY,OPENAI_API_KEY,FINNHUB_API_KEY
- Set
- Add to Ghost Code Injection:
<script> window.aspireGatewayUrl = 'https://aspire-gateway.YOUR-SUBDOMAIN.workers.dev'; </script>
Full setup guide, API reference, and troubleshooting: Theme Documentation