Are there plans to support better
Are there plans to support better subdomaining for Sandbox? Example I wanna host a sandbox on
<pr>.preview.example.com and then the api on <pr>.preview-api.example.com?9 Replies
mh.... not that I am aware of 🤔
What you're workflow/usecase? 🙂
We'd love to spin up previews of our API and Webapp when a PR is created however to properly control CORS and rules and such we'd wanna host it on a preview domain so i'd wanna deploy it on <pr>.preview.example.com so the urls are predictable :)
but you're want two different sub-domains, one for the API and one for the webApp? 🤔
Yes, I mean one would also work but we host our stuff on different domains :)
But I don't think there's currently a way to create a preview URL on your own zone
oh right.... yeah that's currently not possible... I think there was some discussion about that... and I'd be shocked if we won't support that sooner or later 😕
It would be awesome if you could just connect a zone and could select an URL to show a sandbox to e.g.
sandbox.exposeUrl('example.zone.com')
This would made sandboxes awesome to review PRs as you can spin up some sandboxes and comment it on GH and make it workcan I also know what you're using sandboxes for? 🙂
At the moment, nothing but I wanna make a sandbox app which would build our apps when a PR is created so we can preview the changes
oh I see 🤔