This cloud function provides a basic CORS proxy to a predefined HTTPS backend server.
See:
- Cloud Functions Hello World tutorial
- Cloud Functions CORS Proxy sample source code
See the Cloud Functions Hello World tutorial.
See Deploying Cloud Functions using the gcloud tool from your filesystem or repository
$ gcloud functions deploy corsAgent --trigger-http --runtime nodejs18 --allow-unauthenticated