Closed robertocommit closed 2 weeks ago
Thanks for opening this issue! I have implemented the following behaviour:
ORIGIN
environment is provided by the user, it will be used. ORIGIN
environment variable.It's already in latest branch, and it will be included in the upcoming release so closing this issue 🙏
Is your feature request related to a problem? Please describe. When deploying applications with serverless functions on Stormkit, the default origin is set to localhost with a port. This creates challenges when configuring CORS in backend applications, as the port makes it difficult to maintain consistent CORS settings. Currently, there's no way to set or view a fixed origin URL for serverless functions unless using specific framework logic.
Describe the solution you'd like
Additional context This feature would improve the developer experience by: