I have a serverless project which deploys a lambda function and also a static web page.
The js code on the static web page has the hard-coded endpoint of the lambda function.
Whats the proper way to deploy the lambda and then use the generated endpoint in the static js code before deploy.
Is there any templating method so
Thanks!