superbigco / craft-mjml

Render Twig emails with MJML.
https://superbig.co
MIT License
25 stars 5 forks source link

Request: Option for private API URL #6

Open JustJarethB opened 5 years ago

JustJarethB commented 5 years ago

The CLI and API options are convenient often but there are use cases where the CLI is not feasible and the user may not wish to use the MJML API. Perhaps we could provide our own endpoint with optional key/appId, allowing a custom/private server instead of the public server. This can:

sjelfull commented 5 years ago

This is a good suggestion, but you would need to implement a endpoint that matches the signature of the official API - which is non-trivial for most users.

I'm open to someone making a PR for this, but I won't touch this for now.