fierce-pharmacist-13812
08/16/2024, 4:49 AMchilly-king-10285
08/16/2024, 4:49 AMchilly-king-10285
08/16/2024, 4:50 AM<http://localhost:1234/>
as part of the same domain as your project. This is particularly useful when you are developing locally and have configured Ory Network to use UI views hosted on your local machine. Here is how you can use Ory Tunnel for local development: 1. Set up Ory Tunnel for local development as described in the [Ory documentation](https://www.ory.sh/docs/guides/cli/proxy-and-tunnel). 2. Add your domain to the Ory Project so that all requests from your frontend can be made to Ory under the same domain. This is necessary because Ory has a "deny by default" policy which means that the Access-Control-Allow-Origin
header is just set on domains owned by Ory. You can learn how to add your domain in the [Ory documentation](https://www.ory.sh/docs/guides/custom-domains). Remember to use Ory Tunnel just for development purposes. When you go to production, always add a custom domain to your project. For more information about CORS, you can read the [Mozilla CORS documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).